aws-sdk 2.1635.0 → 2.1636.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.
@@ -1,5 +1,11 @@
1
1
  {
2
2
  "pagination": {
3
+ "ForecastGeofenceEvents": {
4
+ "input_token": "NextToken",
5
+ "output_token": "NextToken",
6
+ "limit_key": "MaxResults",
7
+ "result_key": "ForecastedEvents"
8
+ },
3
9
  "GetDevicePositionHistory": {
4
10
  "input_token": "NextToken",
5
11
  "output_token": "NextToken",
@@ -4,12 +4,18 @@
4
4
  "apiVersion": "2010-03-31",
5
5
  "endpointPrefix": "sns",
6
6
  "protocol": "query",
7
+ "protocols": [
8
+ "query"
9
+ ],
7
10
  "serviceAbbreviation": "Amazon SNS",
8
11
  "serviceFullName": "Amazon Simple Notification Service",
9
12
  "serviceId": "SNS",
10
13
  "signatureVersion": "v4",
11
14
  "uid": "sns-2010-03-31",
12
- "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/"
15
+ "xmlNamespace": "http://sns.amazonaws.com/doc/2010-03-31/",
16
+ "auth": [
17
+ "aws.auth#sigv4"
18
+ ]
13
19
  },
14
20
  "operations": {
15
21
  "AddPermission": {
@@ -6,6 +6,9 @@
6
6
  "endpointPrefix": "sqs",
7
7
  "jsonVersion": "1.0",
8
8
  "protocol": "json",
9
+ "protocols": [
10
+ "json"
11
+ ],
9
12
  "serviceAbbreviation": "Amazon SQS",
10
13
  "serviceFullName": "Amazon Simple Queue Service",
11
14
  "serviceId": "SQS",
@@ -5,11 +5,17 @@
5
5
  "endpointPrefix": "storagegateway",
6
6
  "jsonVersion": "1.1",
7
7
  "protocol": "json",
8
+ "protocols": [
9
+ "json"
10
+ ],
8
11
  "serviceFullName": "AWS Storage Gateway",
9
12
  "serviceId": "Storage Gateway",
10
13
  "signatureVersion": "v4",
11
14
  "targetPrefix": "StorageGateway_20130630",
12
- "uid": "storagegateway-2013-06-30"
15
+ "uid": "storagegateway-2013-06-30",
16
+ "auth": [
17
+ "aws.auth#sigv4"
18
+ ]
13
19
  },
14
20
  "operations": {
15
21
  "ActivateGateway": {
@@ -1092,7 +1098,10 @@
1092
1098
  "DayOfMonth": {
1093
1099
  "type": "integer"
1094
1100
  },
1095
- "Timezone": {}
1101
+ "Timezone": {},
1102
+ "SoftwareUpdatePreferences": {
1103
+ "shape": "S5i"
1104
+ }
1096
1105
  }
1097
1106
  }
1098
1107
  },
@@ -1104,7 +1113,7 @@
1104
1113
  ],
1105
1114
  "members": {
1106
1115
  "FileShareARNList": {
1107
- "shape": "S5j"
1116
+ "shape": "S5l"
1108
1117
  }
1109
1118
  }
1110
1119
  },
@@ -1170,7 +1179,7 @@
1170
1179
  ],
1171
1180
  "members": {
1172
1181
  "FileShareARNList": {
1173
- "shape": "S5j"
1182
+ "shape": "S5l"
1174
1183
  }
1175
1184
  }
1176
1185
  },
@@ -1265,7 +1274,7 @@
1265
1274
  "type": "boolean"
1266
1275
  },
1267
1276
  "SMBLocalGroups": {
1268
- "shape": "S5z"
1277
+ "shape": "S61"
1269
1278
  }
1270
1279
  }
1271
1280
  }
@@ -1713,7 +1722,7 @@
1713
1722
  "type": "structure",
1714
1723
  "members": {
1715
1724
  "AutomaticTapeCreationRules": {
1716
- "shape": "S7j"
1725
+ "shape": "S7l"
1717
1726
  },
1718
1727
  "GatewayARN": {}
1719
1728
  }
@@ -2276,7 +2285,7 @@
2276
2285
  ],
2277
2286
  "members": {
2278
2287
  "AutomaticTapeCreationRules": {
2279
- "shape": "S7j"
2288
+ "shape": "S7l"
2280
2289
  },
2281
2290
  "GatewayARN": {}
2282
2291
  }
@@ -2427,9 +2436,7 @@
2427
2436
  "input": {
2428
2437
  "type": "structure",
2429
2438
  "required": [
2430
- "GatewayARN",
2431
- "HourOfDay",
2432
- "MinuteOfHour"
2439
+ "GatewayARN"
2433
2440
  ],
2434
2441
  "members": {
2435
2442
  "GatewayARN": {},
@@ -2444,6 +2451,9 @@
2444
2451
  },
2445
2452
  "DayOfMonth": {
2446
2453
  "type": "integer"
2454
+ },
2455
+ "SoftwareUpdatePreferences": {
2456
+ "shape": "S5i"
2447
2457
  }
2448
2458
  }
2449
2459
  },
@@ -2587,7 +2597,7 @@
2587
2597
  "members": {
2588
2598
  "GatewayARN": {},
2589
2599
  "SMBLocalGroups": {
2590
- "shape": "S5z"
2600
+ "shape": "S61"
2591
2601
  }
2592
2602
  }
2593
2603
  },
@@ -2794,11 +2804,17 @@
2794
2804
  "type": "string",
2795
2805
  "sensitive": true
2796
2806
  },
2797
- "S5j": {
2807
+ "S5i": {
2808
+ "type": "structure",
2809
+ "members": {
2810
+ "AutomaticUpdatePolicy": {}
2811
+ }
2812
+ },
2813
+ "S5l": {
2798
2814
  "type": "list",
2799
2815
  "member": {}
2800
2816
  },
2801
- "S5z": {
2817
+ "S61": {
2802
2818
  "type": "structure",
2803
2819
  "members": {
2804
2820
  "GatewayAdmins": {
@@ -2806,7 +2822,7 @@
2806
2822
  }
2807
2823
  }
2808
2824
  },
2809
- "S7j": {
2825
+ "S7l": {
2810
2826
  "type": "list",
2811
2827
  "member": {
2812
2828
  "type": "structure",
@@ -11,6 +11,14 @@ declare class Account extends Service {
11
11
  */
12
12
  constructor(options?: Account.Types.ClientConfiguration)
13
13
  config: Config & Account.Types.ClientConfiguration;
14
+ /**
15
+ * Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.
16
+ */
17
+ acceptPrimaryEmailUpdate(params: Account.Types.AcceptPrimaryEmailUpdateRequest, callback?: (err: AWSError, data: Account.Types.AcceptPrimaryEmailUpdateResponse) => void): Request<Account.Types.AcceptPrimaryEmailUpdateResponse, AWSError>;
18
+ /**
19
+ * Accepts the request that originated from StartPrimaryEmailUpdate to update the primary email address (also known as the root user email address) for the specified account.
20
+ */
21
+ acceptPrimaryEmailUpdate(callback?: (err: AWSError, data: Account.Types.AcceptPrimaryEmailUpdateResponse) => void): Request<Account.Types.AcceptPrimaryEmailUpdateResponse, AWSError>;
14
22
  /**
15
23
  * Deletes the specified alternate contact from an Amazon Web Services account. For complete details about how to use the alternate contact operations, see Access or updating the alternate contacts. Before you can update the alternate contact information for an Amazon Web Services account that is managed by Organizations, you must first enable integration between Amazon Web Services Account Management and Organizations. For more information, see Enabling trusted access for Amazon Web Services Account Management.
16
24
  */
@@ -20,11 +28,11 @@ declare class Account extends Service {
20
28
  */
21
29
  deleteAlternateContact(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
22
30
  /**
23
- * Disables (opts-out) a particular Region for an account.
31
+ * Disables (opts-out) a particular Region for an account. The act of disabling a Region will remove all IAM access to any resources that reside in that Region.
24
32
  */
25
33
  disableRegion(params: Account.Types.DisableRegionRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
26
34
  /**
27
- * Disables (opts-out) a particular Region for an account.
35
+ * Disables (opts-out) a particular Region for an account. The act of disabling a Region will remove all IAM access to any resources that reside in that Region.
28
36
  */
29
37
  disableRegion(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
30
38
  /**
@@ -51,6 +59,14 @@ declare class Account extends Service {
51
59
  * Retrieves the primary contact information of an Amazon Web Services account. For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
52
60
  */
53
61
  getContactInformation(callback?: (err: AWSError, data: Account.Types.GetContactInformationResponse) => void): Request<Account.Types.GetContactInformationResponse, AWSError>;
62
+ /**
63
+ * Retrieves the primary email address for the specified account.
64
+ */
65
+ getPrimaryEmail(params: Account.Types.GetPrimaryEmailRequest, callback?: (err: AWSError, data: Account.Types.GetPrimaryEmailResponse) => void): Request<Account.Types.GetPrimaryEmailResponse, AWSError>;
66
+ /**
67
+ * Retrieves the primary email address for the specified account.
68
+ */
69
+ getPrimaryEmail(callback?: (err: AWSError, data: Account.Types.GetPrimaryEmailResponse) => void): Request<Account.Types.GetPrimaryEmailResponse, AWSError>;
54
70
  /**
55
71
  * Retrieves the opt-in status of a particular Region.
56
72
  */
@@ -83,8 +99,36 @@ declare class Account extends Service {
83
99
  * Updates the primary contact information of an Amazon Web Services account. For complete details about how to use the primary contact operations, see Update the primary and alternate contact information.
84
100
  */
85
101
  putContactInformation(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102
+ /**
103
+ * Starts the process to update the primary email address for the specified account.
104
+ */
105
+ startPrimaryEmailUpdate(params: Account.Types.StartPrimaryEmailUpdateRequest, callback?: (err: AWSError, data: Account.Types.StartPrimaryEmailUpdateResponse) => void): Request<Account.Types.StartPrimaryEmailUpdateResponse, AWSError>;
106
+ /**
107
+ * Starts the process to update the primary email address for the specified account.
108
+ */
109
+ startPrimaryEmailUpdate(callback?: (err: AWSError, data: Account.Types.StartPrimaryEmailUpdateResponse) => void): Request<Account.Types.StartPrimaryEmailUpdateResponse, AWSError>;
86
110
  }
87
111
  declare namespace Account {
112
+ export interface AcceptPrimaryEmailUpdateRequest {
113
+ /**
114
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. This operation can only be called from the management account or the delegated administrator account of an organization for a member account. The management account can't specify its own AccountId.
115
+ */
116
+ AccountId: AccountId;
117
+ /**
118
+ * The OTP code sent to the PrimaryEmail specified on the StartPrimaryEmailUpdate API call.
119
+ */
120
+ Otp: Otp;
121
+ /**
122
+ * The new primary email address for use with the specified account. This must match the PrimaryEmail from the StartPrimaryEmailUpdate API call.
123
+ */
124
+ PrimaryEmail: PrimaryEmailAddress;
125
+ }
126
+ export interface AcceptPrimaryEmailUpdateResponse {
127
+ /**
128
+ * Retrieves the status of the accepted primary email update request.
129
+ */
130
+ Status?: PrimaryEmailUpdateStatus;
131
+ }
88
132
  export type AccountId = string;
89
133
  export type AddressLine = string;
90
134
  export interface AlternateContact {
@@ -154,7 +198,7 @@ declare namespace Account {
154
198
  */
155
199
  PostalCode: PostalCode;
156
200
  /**
157
- * The state or region of the primary contact address. This field is required in selected countries.
201
+ * The state or region of the primary contact address. If the mailing address is within the United States (US), the value in this field can be either a two character state code (for example, NJ) or the full state name (for example, New Jersey). This field is required in the following countries: US, CA, GB, DE, JP, IN, and BR.
158
202
  */
159
203
  StateOrRegion?: StateOrRegion;
160
204
  /**
@@ -176,7 +220,7 @@ declare namespace Account {
176
220
  }
177
221
  export interface DisableRegionRequest {
178
222
  /**
179
- * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
223
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
180
224
  */
181
225
  AccountId?: AccountId;
182
226
  /**
@@ -188,7 +232,7 @@ declare namespace Account {
188
232
  export type EmailAddress = string;
189
233
  export interface EnableRegionRequest {
190
234
  /**
191
- * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
235
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
192
236
  */
193
237
  AccountId?: AccountId;
194
238
  /**
@@ -215,7 +259,7 @@ declare namespace Account {
215
259
  }
216
260
  export interface GetContactInformationRequest {
217
261
  /**
218
- * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
262
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
219
263
  */
220
264
  AccountId?: AccountId;
221
265
  }
@@ -225,9 +269,21 @@ declare namespace Account {
225
269
  */
226
270
  ContactInformation?: ContactInformation;
227
271
  }
272
+ export interface GetPrimaryEmailRequest {
273
+ /**
274
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. This operation can only be called from the management account or the delegated administrator account of an organization for a member account. The management account can't specify its own AccountId.
275
+ */
276
+ AccountId: AccountId;
277
+ }
278
+ export interface GetPrimaryEmailResponse {
279
+ /**
280
+ * Retrieves the primary email address associated with the specified account.
281
+ */
282
+ PrimaryEmail?: PrimaryEmailAddress;
283
+ }
228
284
  export interface GetRegionOptStatusRequest {
229
285
  /**
230
- * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
286
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
231
287
  */
232
288
  AccountId?: AccountId;
233
289
  /**
@@ -247,7 +303,7 @@ declare namespace Account {
247
303
  }
248
304
  export interface ListRegionsRequest {
249
305
  /**
250
- * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
306
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
251
307
  */
252
308
  AccountId?: AccountId;
253
309
  /**
@@ -276,8 +332,11 @@ declare namespace Account {
276
332
  Regions?: RegionOptList;
277
333
  }
278
334
  export type Name = string;
335
+ export type Otp = string;
279
336
  export type PhoneNumber = string;
280
337
  export type PostalCode = string;
338
+ export type PrimaryEmailAddress = string;
339
+ export type PrimaryEmailUpdateStatus = "PENDING"|"ACCEPTED"|string;
281
340
  export interface PutAlternateContactRequest {
282
341
  /**
283
342
  * Specifies the 12 digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you do not specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account, and the specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId; it must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, then don't specify this parameter, and call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
@@ -306,7 +365,7 @@ declare namespace Account {
306
365
  }
307
366
  export interface PutContactInformationRequest {
308
367
  /**
309
- * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must also be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
368
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. If you don't specify this parameter, it defaults to the Amazon Web Services account of the identity used to call the operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. The management account can't specify its own AccountId. It must call the operation in standalone context by not including the AccountId parameter. To call this operation on an account that is not a member of an organization, don't specify this parameter. Instead, call the operation using an identity belonging to the account whose contacts you wish to retrieve or modify.
310
369
  */
311
370
  AccountId?: AccountId;
312
371
  /**
@@ -328,6 +387,22 @@ declare namespace Account {
328
387
  export type RegionOptList = Region[];
329
388
  export type RegionOptStatus = "ENABLED"|"ENABLING"|"DISABLING"|"DISABLED"|"ENABLED_BY_DEFAULT"|string;
330
389
  export type RegionOptStatusList = RegionOptStatus[];
390
+ export interface StartPrimaryEmailUpdateRequest {
391
+ /**
392
+ * Specifies the 12-digit account ID number of the Amazon Web Services account that you want to access or modify with this operation. To use this parameter, the caller must be an identity in the organization's management account or a delegated administrator account. The specified account ID must be a member account in the same organization. The organization must have all features enabled, and the organization must have trusted access enabled for the Account Management service, and optionally a delegated admin account assigned. This operation can only be called from the management account or the delegated administrator account of an organization for a member account. The management account can't specify its own AccountId.
393
+ */
394
+ AccountId: AccountId;
395
+ /**
396
+ * The new primary email address (also known as the root user email address) to use in the specified account.
397
+ */
398
+ PrimaryEmail: PrimaryEmailAddress;
399
+ }
400
+ export interface StartPrimaryEmailUpdateResponse {
401
+ /**
402
+ * The status of the primary email update request.
403
+ */
404
+ Status?: PrimaryEmailUpdateStatus;
405
+ }
331
406
  export type StateOrRegion = string;
332
407
  export type String = string;
333
408
  export type Title = string;
@@ -68,11 +68,11 @@ declare class Firehose extends Service {
68
68
  */
69
69
  putRecordBatch(callback?: (err: AWSError, data: Firehose.Types.PutRecordBatchOutput) => void): Request<Firehose.Types.PutRecordBatchOutput, AWSError>;
70
70
  /**
71
- * Enables server-side encryption (SSE) for the delivery stream. This operation is asynchronous. It returns immediately. When you invoke it, Firehose first sets the encryption status of the stream to ENABLING, and then to ENABLED. The encryption status of a delivery stream is the Status property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED. You can continue to read and write data to your delivery stream while the encryption status is ENABLING, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively. To check the encryption status of a delivery stream, use DescribeDeliveryStream. Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK, Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant. For the KMS grant creation to be successful, Firehose APIs StartDeliveryStreamEncryption and CreateDeliveryStream should not be called with session credentials that are more than 6 hours old. If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK. If the encryption status of your delivery stream is ENABLING_FAILED, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Firehose to invoke KMS encrypt and decrypt operations. You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut as its source. The StartDeliveryStreamEncryption and StopDeliveryStreamEncryption operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption 13 times and StopDeliveryStreamEncryption 12 times for the same delivery stream in a 24-hour period.
71
+ * Enables server-side encryption (SSE) for the delivery stream. This operation is asynchronous. It returns immediately. When you invoke it, Firehose first sets the encryption status of the stream to ENABLING, and then to ENABLED. The encryption status of a delivery stream is the Status property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED. You can continue to read and write data to your delivery stream while the encryption status is ENABLING, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively. To check the encryption status of a delivery stream, use DescribeDeliveryStream. Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK, Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant. For the KMS grant creation to be successful, the Firehose API operations StartDeliveryStreamEncryption and CreateDeliveryStream should not be called with session credentials that are more than 6 hours old. If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK. If the encryption status of your delivery stream is ENABLING_FAILED, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Firehose to invoke KMS encrypt and decrypt operations. You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut as its source. The StartDeliveryStreamEncryption and StopDeliveryStreamEncryption operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption 13 times and StopDeliveryStreamEncryption 12 times for the same delivery stream in a 24-hour period.
72
72
  */
73
73
  startDeliveryStreamEncryption(params: Firehose.Types.StartDeliveryStreamEncryptionInput, callback?: (err: AWSError, data: Firehose.Types.StartDeliveryStreamEncryptionOutput) => void): Request<Firehose.Types.StartDeliveryStreamEncryptionOutput, AWSError>;
74
74
  /**
75
- * Enables server-side encryption (SSE) for the delivery stream. This operation is asynchronous. It returns immediately. When you invoke it, Firehose first sets the encryption status of the stream to ENABLING, and then to ENABLED. The encryption status of a delivery stream is the Status property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED. You can continue to read and write data to your delivery stream while the encryption status is ENABLING, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively. To check the encryption status of a delivery stream, use DescribeDeliveryStream. Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK, Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant. For the KMS grant creation to be successful, Firehose APIs StartDeliveryStreamEncryption and CreateDeliveryStream should not be called with session credentials that are more than 6 hours old. If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK. If the encryption status of your delivery stream is ENABLING_FAILED, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Firehose to invoke KMS encrypt and decrypt operations. You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut as its source. The StartDeliveryStreamEncryption and StopDeliveryStreamEncryption operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption 13 times and StopDeliveryStreamEncryption 12 times for the same delivery stream in a 24-hour period.
75
+ * Enables server-side encryption (SSE) for the delivery stream. This operation is asynchronous. It returns immediately. When you invoke it, Firehose first sets the encryption status of the stream to ENABLING, and then to ENABLED. The encryption status of a delivery stream is the Status property in DeliveryStreamEncryptionConfiguration. If the operation fails, the encryption status changes to ENABLING_FAILED. You can continue to read and write data to your delivery stream while the encryption status is ENABLING, but the data is not encrypted. It can take up to 5 seconds after the encryption status changes to ENABLED before all records written to the delivery stream are encrypted. To find out whether a record or a batch of records was encrypted, check the response elements PutRecordOutput$Encrypted and PutRecordBatchOutput$Encrypted, respectively. To check the encryption status of a delivery stream, use DescribeDeliveryStream. Even if encryption is currently enabled for a delivery stream, you can still invoke this operation on it to change the ARN of the CMK or both its type and ARN. If you invoke this method to change the CMK, and the old CMK is of type CUSTOMER_MANAGED_CMK, Firehose schedules the grant it had on the old CMK for retirement. If the new CMK is of type CUSTOMER_MANAGED_CMK, Firehose creates a grant that enables it to use the new CMK to encrypt and decrypt data and to manage the grant. For the KMS grant creation to be successful, the Firehose API operations StartDeliveryStreamEncryption and CreateDeliveryStream should not be called with session credentials that are more than 6 hours old. If a delivery stream already has encryption enabled and then you invoke this operation to change the ARN of the CMK or both its type and ARN and you get ENABLING_FAILED, this only means that the attempt to change the CMK failed. In this case, encryption remains enabled with the old CMK. If the encryption status of your delivery stream is ENABLING_FAILED, you can invoke this operation again with a valid CMK. The CMK must be enabled and the key policy mustn't explicitly deny the permission for Firehose to invoke KMS encrypt and decrypt operations. You can enable SSE for a delivery stream only if it's a delivery stream that uses DirectPut as its source. The StartDeliveryStreamEncryption and StopDeliveryStreamEncryption operations have a combined limit of 25 calls per delivery stream per 24 hours. For example, you reach the limit if you call StartDeliveryStreamEncryption 13 times and StopDeliveryStreamEncryption 12 times for the same delivery stream in a 24-hour period.
76
76
  */
77
77
  startDeliveryStreamEncryption(callback?: (err: AWSError, data: Firehose.Types.StartDeliveryStreamEncryptionOutput) => void): Request<Firehose.Types.StartDeliveryStreamEncryptionOutput, AWSError>;
78
78
  /**
@@ -1182,7 +1182,7 @@ declare namespace Firehose {
1182
1182
  BufferingHints?: HttpEndpointBufferingHints;
1183
1183
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1184
1184
  /**
1185
- * The configuration of the requeste sent to the HTTP endpoint specified as the destination.
1185
+ * The configuration of the request sent to the HTTP endpoint that is specified as the destination.
1186
1186
  */
1187
1187
  RequestConfiguration?: HttpEndpointRequestConfiguration;
1188
1188
  ProcessingConfiguration?: ProcessingConfiguration;
@@ -1199,6 +1199,10 @@ declare namespace Firehose {
1199
1199
  */
1200
1200
  S3BackupMode?: HttpEndpointS3BackupMode;
1201
1201
  S3Configuration: S3DestinationConfiguration;
1202
+ /**
1203
+ * The configuration that defines how you access secrets for HTTP Endpoint destination.
1204
+ */
1205
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1202
1206
  }
1203
1207
  export interface HttpEndpointDestinationDescription {
1204
1208
  /**
@@ -1228,6 +1232,10 @@ declare namespace Firehose {
1228
1232
  */
1229
1233
  S3BackupMode?: HttpEndpointS3BackupMode;
1230
1234
  S3DestinationDescription?: S3DestinationDescription;
1235
+ /**
1236
+ * The configuration that defines how you access secrets for HTTP Endpoint destination.
1237
+ */
1238
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1231
1239
  }
1232
1240
  export interface HttpEndpointDestinationUpdate {
1233
1241
  /**
@@ -1257,6 +1265,10 @@ declare namespace Firehose {
1257
1265
  */
1258
1266
  S3BackupMode?: HttpEndpointS3BackupMode;
1259
1267
  S3Update?: S3DestinationUpdate;
1268
+ /**
1269
+ * The configuration that defines how you access secrets for HTTP Endpoint destination.
1270
+ */
1271
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1260
1272
  }
1261
1273
  export type HttpEndpointName = string;
1262
1274
  export interface HttpEndpointRequestConfiguration {
@@ -1625,11 +1637,11 @@ declare namespace Firehose {
1625
1637
  /**
1626
1638
  * The name of the user.
1627
1639
  */
1628
- Username: Username;
1640
+ Username?: Username;
1629
1641
  /**
1630
1642
  * The user password.
1631
1643
  */
1632
- Password: Password;
1644
+ Password?: Password;
1633
1645
  /**
1634
1646
  * The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
1635
1647
  */
@@ -1654,6 +1666,10 @@ declare namespace Firehose {
1654
1666
  * The CloudWatch logging options for your delivery stream.
1655
1667
  */
1656
1668
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1669
+ /**
1670
+ * The configuration that defines how you access secrets for Amazon Redshift.
1671
+ */
1672
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1657
1673
  }
1658
1674
  export interface RedshiftDestinationDescription {
1659
1675
  /**
@@ -1671,7 +1687,7 @@ declare namespace Firehose {
1671
1687
  /**
1672
1688
  * The name of the user.
1673
1689
  */
1674
- Username: Username;
1690
+ Username?: Username;
1675
1691
  /**
1676
1692
  * The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
1677
1693
  */
@@ -1696,6 +1712,10 @@ declare namespace Firehose {
1696
1712
  * The Amazon CloudWatch logging options for your delivery stream.
1697
1713
  */
1698
1714
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1715
+ /**
1716
+ * The configuration that defines how you access secrets for Amazon Redshift.
1717
+ */
1718
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1699
1719
  }
1700
1720
  export interface RedshiftDestinationUpdate {
1701
1721
  /**
@@ -1742,6 +1762,10 @@ declare namespace Firehose {
1742
1762
  * The Amazon CloudWatch logging options for your delivery stream.
1743
1763
  */
1744
1764
  CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
1765
+ /**
1766
+ * The configuration that defines how you access secrets for Amazon Redshift.
1767
+ */
1768
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1745
1769
  }
1746
1770
  export type RedshiftRetryDurationInSeconds = number;
1747
1771
  export interface RedshiftRetryOptions {
@@ -1888,6 +1912,21 @@ declare namespace Firehose {
1888
1912
  */
1889
1913
  VersionId?: NonEmptyStringWithoutWhitespace;
1890
1914
  }
1915
+ export type SecretARN = string;
1916
+ export interface SecretsManagerConfiguration {
1917
+ /**
1918
+ * The ARN of the secret that stores your credentials. It must be in the same region as the Firehose stream and the role. The secret ARN can reside in a different account than the delivery stream and role as Firehose supports cross-account secret access. This parameter is required when Enabled is set to True.
1919
+ */
1920
+ SecretARN?: SecretARN;
1921
+ /**
1922
+ * Specifies the role that Firehose assumes when calling the Secrets Manager API operation. When you provide the role, it overrides any destination specific role defined in the destination configuration. If you do not provide the then we use the destination specific role. This parameter is required for Splunk.
1923
+ */
1924
+ RoleARN?: RoleARN;
1925
+ /**
1926
+ * Specifies whether you want to use the the secrets manager feature. When set as True the secrets manager configuration overwrites the existing secrets in the destination configuration. When it's set to False Firehose falls back to the credentials in the destination configuration.
1927
+ */
1928
+ Enabled: BooleanObject;
1929
+ }
1891
1930
  export type SecurityGroupIdList = NonEmptyStringWithoutWhitespace[];
1892
1931
  export interface Serializer {
1893
1932
  /**
@@ -1912,7 +1951,7 @@ declare namespace Firehose {
1912
1951
  /**
1913
1952
  * The private key used to encrypt your Snowflake client. For information, see Using Key Pair Authentication &amp; Key Rotation.
1914
1953
  */
1915
- PrivateKey: SnowflakePrivateKey;
1954
+ PrivateKey?: SnowflakePrivateKey;
1916
1955
  /**
1917
1956
  * Passphrase to decrypt the private key when the key is encrypted. For information, see Using Key Pair Authentication &amp; Key Rotation.
1918
1957
  */
@@ -1920,7 +1959,7 @@ declare namespace Firehose {
1920
1959
  /**
1921
1960
  * User login name for the Snowflake account.
1922
1961
  */
1923
- User: SnowflakeUser;
1962
+ User?: SnowflakeUser;
1924
1963
  /**
1925
1964
  * All data in Snowflake is maintained in databases.
1926
1965
  */
@@ -1968,6 +2007,10 @@ declare namespace Firehose {
1968
2007
  */
1969
2008
  S3BackupMode?: SnowflakeS3BackupMode;
1970
2009
  S3Configuration: S3DestinationConfiguration;
2010
+ /**
2011
+ * The configuration that defines how you access secrets for Snowflake.
2012
+ */
2013
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
1971
2014
  }
1972
2015
  export interface SnowflakeDestinationDescription {
1973
2016
  /**
@@ -2025,6 +2068,10 @@ declare namespace Firehose {
2025
2068
  */
2026
2069
  S3BackupMode?: SnowflakeS3BackupMode;
2027
2070
  S3DestinationDescription?: S3DestinationDescription;
2071
+ /**
2072
+ * The configuration that defines how you access secrets for Snowflake.
2073
+ */
2074
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
2028
2075
  }
2029
2076
  export interface SnowflakeDestinationUpdate {
2030
2077
  /**
@@ -2086,6 +2133,10 @@ declare namespace Firehose {
2086
2133
  */
2087
2134
  S3BackupMode?: SnowflakeS3BackupMode;
2088
2135
  S3Update?: S3DestinationUpdate;
2136
+ /**
2137
+ * Describes the Secrets Manager configuration in Snowflake.
2138
+ */
2139
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
2089
2140
  }
2090
2141
  export type SnowflakeKeyPassphrase = string;
2091
2142
  export type SnowflakeMetaDataColumnName = string;
@@ -2153,7 +2204,7 @@ declare namespace Firehose {
2153
2204
  /**
2154
2205
  * This is a GUID that you obtain from your Splunk cluster when you create a new HEC endpoint.
2155
2206
  */
2156
- HECToken: HECToken;
2207
+ HECToken?: HECToken;
2157
2208
  /**
2158
2209
  * The amount of time that Firehose waits to receive an acknowledgment from Splunk after it sends it data. At the end of the timeout period, Firehose either tries to send the data again or considers it an error, based on your retry settings.
2159
2210
  */
@@ -2182,6 +2233,10 @@ declare namespace Firehose {
2182
2233
  * The buffering options. If no value is specified, the default values for Splunk are used.
2183
2234
  */
2184
2235
  BufferingHints?: SplunkBufferingHints;
2236
+ /**
2237
+ * The configuration that defines how you access secrets for Splunk.
2238
+ */
2239
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
2185
2240
  }
2186
2241
  export interface SplunkDestinationDescription {
2187
2242
  /**
@@ -2224,6 +2279,10 @@ declare namespace Firehose {
2224
2279
  * The buffering options. If no value is specified, the default values for Splunk are used.
2225
2280
  */
2226
2281
  BufferingHints?: SplunkBufferingHints;
2282
+ /**
2283
+ * The configuration that defines how you access secrets for Splunk.
2284
+ */
2285
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
2227
2286
  }
2228
2287
  export interface SplunkDestinationUpdate {
2229
2288
  /**
@@ -2266,6 +2325,10 @@ declare namespace Firehose {
2266
2325
  * The buffering options. If no value is specified, the default values for Splunk are used.
2267
2326
  */
2268
2327
  BufferingHints?: SplunkBufferingHints;
2328
+ /**
2329
+ * The configuration that defines how you access secrets for Splunk.
2330
+ */
2331
+ SecretsManagerConfiguration?: SecretsManagerConfiguration;
2269
2332
  }
2270
2333
  export type SplunkRetryDurationInSeconds = number;
2271
2334
  export interface SplunkRetryOptions {
@@ -2382,7 +2445,7 @@ declare namespace Firehose {
2382
2445
  */
2383
2446
  AmazonOpenSearchServerlessDestinationUpdate?: AmazonOpenSearchServerlessDestinationUpdate;
2384
2447
  /**
2385
- * Update to the Snowflake destination condiguration settings
2448
+ * Update to the Snowflake destination configuration settings.
2386
2449
  */
2387
2450
  SnowflakeDestinationUpdate?: SnowflakeDestinationUpdate;
2388
2451
  }