aws-sdk 2.1503.0 → 2.1505.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +15 -1
  2. package/README.md +1 -1
  3. package/apis/appsync-2017-07-25.min.json +141 -6
  4. package/apis/b2bi-2022-06-23.examples.json +714 -0
  5. package/apis/b2bi-2022-06-23.min.json +1095 -0
  6. package/apis/b2bi-2022-06-23.paginators.json +28 -0
  7. package/apis/backup-2018-11-15.min.json +855 -84
  8. package/apis/backup-2018-11-15.paginators.json +18 -0
  9. package/apis/controltower-2018-05-10.min.json +80 -12
  10. package/apis/elasticache-2015-02-02.min.json +481 -132
  11. package/apis/elasticache-2015-02-02.paginators.json +12 -0
  12. package/apis/elasticfilesystem-2015-02-01.min.json +66 -32
  13. package/apis/fis-2020-12-01.min.json +366 -15
  14. package/apis/fis-2020-12-01.paginators.json +10 -0
  15. package/apis/metadata.json +3 -0
  16. package/apis/securityhub-2018-10-26.examples.json +433 -8
  17. package/apis/securityhub-2018-10-26.min.json +790 -336
  18. package/apis/securityhub-2018-10-26.paginators.json +12 -0
  19. package/apis/transcribe-2017-10-26.min.json +257 -70
  20. package/apis/transcribe-2017-10-26.paginators.json +5 -0
  21. package/clients/all.d.ts +1 -0
  22. package/clients/all.js +2 -1
  23. package/clients/appsync.d.ts +169 -0
  24. package/clients/b2bi.d.ts +1388 -0
  25. package/clients/b2bi.js +18 -0
  26. package/clients/backup.d.ts +848 -45
  27. package/clients/controltower.d.ts +103 -47
  28. package/clients/efs.d.ts +42 -9
  29. package/clients/elasticache.d.ts +484 -12
  30. package/clients/fis.d.ts +383 -3
  31. package/clients/glue.d.ts +3 -3
  32. package/clients/rds.d.ts +80 -80
  33. package/clients/securityhub.d.ts +603 -13
  34. package/clients/transcribeservice.d.ts +301 -45
  35. package/dist/aws-sdk-core-react-native.js +2 -2
  36. package/dist/aws-sdk-react-native.js +54 -17
  37. package/dist/aws-sdk.js +565 -167
  38. package/dist/aws-sdk.min.js +60 -60
  39. package/lib/config_service_placeholders.d.ts +2 -0
  40. package/lib/core.js +1 -1
  41. package/package.json +1 -1
package/clients/all.d.ts CHANGED
@@ -365,3 +365,4 @@ export import EKSAuth = require('./eksauth');
365
365
  export import FreeTier = require('./freetier');
366
366
  export import Repostspace = require('./repostspace');
367
367
  export import WorkSpacesThinClient = require('./workspacesthinclient');
368
+ export import B2bi = require('./b2bi');
package/clients/all.js CHANGED
@@ -366,5 +366,6 @@ module.exports = {
366
366
  EKSAuth: require('./eksauth'),
367
367
  FreeTier: require('./freetier'),
368
368
  Repostspace: require('./repostspace'),
369
- WorkSpacesThinClient: require('./workspacesthinclient')
369
+ WorkSpacesThinClient: require('./workspacesthinclient'),
370
+ B2bi: require('./b2bi')
370
371
  };
@@ -235,6 +235,14 @@ declare class AppSync extends Service {
235
235
  * Retrieves a DataSource object.
236
236
  */
237
237
  getDataSource(callback?: (err: AWSError, data: AppSync.Types.GetDataSourceResponse) => void): Request<AppSync.Types.GetDataSourceResponse, AWSError>;
238
+ /**
239
+ * Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
240
+ */
241
+ getDataSourceIntrospection(params: AppSync.Types.GetDataSourceIntrospectionRequest, callback?: (err: AWSError, data: AppSync.Types.GetDataSourceIntrospectionResponse) => void): Request<AppSync.Types.GetDataSourceIntrospectionResponse, AWSError>;
242
+ /**
243
+ * Retrieves the record of an existing introspection. If the retrieval is successful, the result of the instrospection will also be returned. If the retrieval fails the operation, an error message will be returned instead.
244
+ */
245
+ getDataSourceIntrospection(callback?: (err: AWSError, data: AppSync.Types.GetDataSourceIntrospectionResponse) => void): Request<AppSync.Types.GetDataSourceIntrospectionResponse, AWSError>;
238
246
  /**
239
247
  * Retrieves a custom DomainName object.
240
248
  */
@@ -387,6 +395,14 @@ declare class AppSync extends Service {
387
395
  * Lists Type objects by the source API association ID.
388
396
  */
389
397
  listTypesByAssociation(callback?: (err: AWSError, data: AppSync.Types.ListTypesByAssociationResponse) => void): Request<AppSync.Types.ListTypesByAssociationResponse, AWSError>;
398
+ /**
399
+ * Creates a new introspection. Returns the introspectionId of the new introspection after its creation.
400
+ */
401
+ startDataSourceIntrospection(params: AppSync.Types.StartDataSourceIntrospectionRequest, callback?: (err: AWSError, data: AppSync.Types.StartDataSourceIntrospectionResponse) => void): Request<AppSync.Types.StartDataSourceIntrospectionResponse, AWSError>;
402
+ /**
403
+ * Creates a new introspection. Returns the introspectionId of the new introspection after its creation.
404
+ */
405
+ startDataSourceIntrospection(callback?: (err: AWSError, data: AppSync.Types.StartDataSourceIntrospectionResponse) => void): Request<AppSync.Types.StartDataSourceIntrospectionResponse, AWSError>;
390
406
  /**
391
407
  * Adds a new schema to your GraphQL API. This operation is asynchronous. Use to determine when it has completed.
392
408
  */
@@ -1101,6 +1117,86 @@ declare namespace AppSync {
1101
1117
  */
1102
1118
  eventBridgeConfig?: EventBridgeDataSourceConfig;
1103
1119
  }
1120
+ export interface DataSourceIntrospectionModel {
1121
+ /**
1122
+ * The name of the model. For example, this could be the name of a single table in a database.
1123
+ */
1124
+ name?: String;
1125
+ /**
1126
+ * The DataSourceIntrospectionModelField object data.
1127
+ */
1128
+ fields?: DataSourceIntrospectionModelFields;
1129
+ /**
1130
+ * The primary key stored as a DataSourceIntrospectionModelIndex object.
1131
+ */
1132
+ primaryKey?: DataSourceIntrospectionModelIndex;
1133
+ /**
1134
+ * The array of DataSourceIntrospectionModelIndex objects.
1135
+ */
1136
+ indexes?: DataSourceIntrospectionModelIndexes;
1137
+ /**
1138
+ * Contains the output of the SDL that was generated from the introspected types. This is controlled by the includeModelsSDL parameter of the GetDataSourceIntrospection operation.
1139
+ */
1140
+ sdl?: String;
1141
+ }
1142
+ export interface DataSourceIntrospectionModelField {
1143
+ /**
1144
+ * The name of the field that was retrieved from the introspected data.
1145
+ */
1146
+ name?: String;
1147
+ /**
1148
+ * The DataSourceIntrospectionModelFieldType object data.
1149
+ */
1150
+ type?: DataSourceIntrospectionModelFieldType;
1151
+ /**
1152
+ * The length value of the introspected field.
1153
+ */
1154
+ length?: Long;
1155
+ }
1156
+ export interface DataSourceIntrospectionModelFieldType {
1157
+ /**
1158
+ * Specifies the classification of data. For example, this could be set to values like Scalar or NonNull to indicate a fundamental property of the field. Valid values include: Scalar: Indicates the value is a primitive type (scalar). NonNull: Indicates the field cannot be null. List: Indicates the field contains a list.
1159
+ */
1160
+ kind?: String;
1161
+ /**
1162
+ * The name of the data type that represents the field. For example, String is a valid name value.
1163
+ */
1164
+ name?: String;
1165
+ /**
1166
+ * The DataSourceIntrospectionModelFieldType object data. The type is only present if DataSourceIntrospectionModelFieldType.kind is set to NonNull or List. The type typically contains its own kind and name fields to represent the actual type data. For instance, type could contain a kind value of Scalar with a name value of String. The values Scalar and String will be collectively stored in the values field.
1167
+ */
1168
+ type?: DataSourceIntrospectionModelFieldType;
1169
+ /**
1170
+ * The values of the type field. This field represents the AppSync data type equivalent of the introspected field.
1171
+ */
1172
+ values?: DataSourceIntrospectionModelFieldTypeValues;
1173
+ }
1174
+ export type DataSourceIntrospectionModelFieldTypeValues = String[];
1175
+ export type DataSourceIntrospectionModelFields = DataSourceIntrospectionModelField[];
1176
+ export interface DataSourceIntrospectionModelIndex {
1177
+ /**
1178
+ * The name of the index.
1179
+ */
1180
+ name?: String;
1181
+ /**
1182
+ * The fields of the index.
1183
+ */
1184
+ fields?: DataSourceIntrospectionModelIndexFields;
1185
+ }
1186
+ export type DataSourceIntrospectionModelIndexFields = String[];
1187
+ export type DataSourceIntrospectionModelIndexes = DataSourceIntrospectionModelIndex[];
1188
+ export type DataSourceIntrospectionModels = DataSourceIntrospectionModel[];
1189
+ export interface DataSourceIntrospectionResult {
1190
+ /**
1191
+ * The array of DataSourceIntrospectionModel objects.
1192
+ */
1193
+ models?: DataSourceIntrospectionModels;
1194
+ /**
1195
+ * Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken value from the previous response.
1196
+ */
1197
+ nextToken?: PaginationToken;
1198
+ }
1199
+ export type DataSourceIntrospectionStatus = "PROCESSING"|"FAILED"|"SUCCESS"|string;
1104
1200
  export type DataSourceType = "AWS_LAMBDA"|"AMAZON_DYNAMODB"|"AMAZON_ELASTICSEARCH"|"NONE"|"HTTP"|"RELATIONAL_DATABASE"|"AMAZON_OPENSEARCH_SERVICE"|"AMAZON_EVENTBRIDGE"|string;
1105
1201
  export type DataSources = DataSource[];
1106
1202
  export type _Date = Date;
@@ -1463,6 +1559,42 @@ declare namespace AppSync {
1463
1559
  */
1464
1560
  apiCache?: ApiCache;
1465
1561
  }
1562
+ export interface GetDataSourceIntrospectionRequest {
1563
+ /**
1564
+ * The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
1565
+ */
1566
+ introspectionId: String;
1567
+ /**
1568
+ * A boolean flag that determines whether SDL should be generated for introspected types or not. If set to true, each model will contain an sdl property that contains the SDL for that type. The SDL only contains the type data and no additional metadata or directives.
1569
+ */
1570
+ includeModelsSDL?: Boolean;
1571
+ /**
1572
+ * Determines the number of types to be returned in a single response before paginating. This value is typically taken from nextToken value from the previous response.
1573
+ */
1574
+ nextToken?: PaginationToken;
1575
+ /**
1576
+ * The maximum number of introspected types that will be returned in a single response.
1577
+ */
1578
+ maxResults?: MaxResults;
1579
+ }
1580
+ export interface GetDataSourceIntrospectionResponse {
1581
+ /**
1582
+ * The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
1583
+ */
1584
+ introspectionId?: String;
1585
+ /**
1586
+ * The status of the introspection during retrieval. By default, when a new instrospection is being retrieved, the status will be set to PROCESSING. Once the operation has been completed, the status will change to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.
1587
+ */
1588
+ introspectionStatus?: DataSourceIntrospectionStatus;
1589
+ /**
1590
+ * The error detail field. When a FAILED introspectionStatus is returned, the introspectionStatusDetail will also return the exact error that was generated during the operation.
1591
+ */
1592
+ introspectionStatusDetail?: String;
1593
+ /**
1594
+ * The DataSourceIntrospectionResult object data.
1595
+ */
1596
+ introspectionResult?: DataSourceIntrospectionResult;
1597
+ }
1466
1598
  export interface GetDataSourceRequest {
1467
1599
  /**
1468
1600
  * The API ID.
@@ -2058,6 +2190,23 @@ declare namespace AppSync {
2058
2190
  */
2059
2191
  functions?: FunctionsIds;
2060
2192
  }
2193
+ export interface RdsDataApiConfig {
2194
+ /**
2195
+ * The resource ARN of the RDS cluster.
2196
+ */
2197
+ resourceArn: RdsDataApiConfigResourceArn;
2198
+ /**
2199
+ * The secret's ARN that was obtained from Secrets Manager. A secret consists of secret information, the secret value, plus metadata about the secret. A secret value can be a string or binary. It typically includes the ARN, secret name and description, policies, tags, encryption key from the Key Management Service, and key rotation data.
2200
+ */
2201
+ secretArn: RdsDataApiConfigSecretArn;
2202
+ /**
2203
+ * The name of the database in the cluster.
2204
+ */
2205
+ databaseName: RdsDataApiConfigDatabaseName;
2206
+ }
2207
+ export type RdsDataApiConfigDatabaseName = string;
2208
+ export type RdsDataApiConfigResourceArn = string;
2209
+ export type RdsDataApiConfigSecretArn = string;
2061
2210
  export interface RdsHttpEndpointConfig {
2062
2211
  /**
2063
2212
  * Amazon Web Services Region for Amazon RDS HTTP endpoint.
@@ -2232,6 +2381,26 @@ declare namespace AppSync {
2232
2381
  description?: String;
2233
2382
  }
2234
2383
  export type SourceApiAssociationSummaryList = SourceApiAssociationSummary[];
2384
+ export interface StartDataSourceIntrospectionRequest {
2385
+ /**
2386
+ * The rdsDataApiConfig object data.
2387
+ */
2388
+ rdsDataApiConfig?: RdsDataApiConfig;
2389
+ }
2390
+ export interface StartDataSourceIntrospectionResponse {
2391
+ /**
2392
+ * The introspection ID. Each introspection contains a unique ID that can be used to reference the instrospection record.
2393
+ */
2394
+ introspectionId?: String;
2395
+ /**
2396
+ * The status of the introspection during creation. By default, when a new instrospection has been created, the status will be set to PROCESSING. Once the operation has been completed, the status will change to SUCCESS or FAILED depending on how the data was parsed. A FAILED operation will return an error and its details as an introspectionStatusDetail.
2397
+ */
2398
+ introspectionStatus?: DataSourceIntrospectionStatus;
2399
+ /**
2400
+ * The error detail field. When a FAILED introspectionStatus is returned, the introspectionStatusDetail will also return the exact error that was generated during the operation.
2401
+ */
2402
+ introspectionStatusDetail?: String;
2403
+ }
2235
2404
  export interface StartSchemaCreationRequest {
2236
2405
  /**
2237
2406
  * The API ID.