diff --git a/.changes/2.1612.0.json b/.changes/2.1612.0.json new file mode 100644 index 0000000000..da5702c5d8 --- /dev/null +++ b/.changes/2.1612.0.json @@ -0,0 +1,22 @@ +[ + { + "type": "feature", + "category": "DynamoDB", + "description": "This release adds support to specify an optional, maximum OnDemandThroughput for DynamoDB tables and global secondary indexes in the CreateTable or UpdateTable APIs. You can also override the OnDemandThroughput settings by calling the ImportTable, RestoreFromPointInTime, or RestoreFromBackup APIs." + }, + { + "type": "feature", + "category": "EC2", + "description": "This release includes a new API for retrieving the public endorsement key of the EC2 instance's Nitro Trusted Platform Module (NitroTPM)." + }, + { + "type": "feature", + "category": "Personalize", + "description": "This releases ability to delete users and their data, including their metadata and interactions data, from a dataset group." + }, + { + "type": "feature", + "category": "RedshiftServerless", + "description": "Update Redshift Serverless List Scheduled Actions Output Response to include Namespace Name." + } +] \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 96aaa29e9e..8e7ba409f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,13 @@ # Changelog for AWS SDK for JavaScript - + +## 2.1612.0 +* feature: DynamoDB: This release adds support to specify an optional, maximum OnDemandThroughput for DynamoDB tables and global secondary indexes in the CreateTable or UpdateTable APIs. You can also override the OnDemandThroughput settings by calling the ImportTable, RestoreFromPointInTime, or RestoreFromBackup APIs. +* feature: EC2: This release includes a new API for retrieving the public endorsement key of the EC2 instance's Nitro Trusted Platform Module (NitroTPM). +* feature: Personalize: This releases ability to delete users and their data, including their metadata and interactions data, from a dataset group. +* feature: RedshiftServerless: Update Redshift Serverless List Scheduled Actions Output Response to include Namespace Name. + ## 2.1611.0 * feature: BedrockAgent: This release adds support for using MongoDB Atlas as a vector store when creating a knowledge base. * feature: PersonalizeRuntime: This release adds support for a Reason attribute for predicted items generated by User-Personalization-v2. diff --git a/README.md b/README.md index 144e92afd9..edc7861e14 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true; To use the SDK in the browser, simply add the following script tag to your HTML pages: - + You can also build a custom browser SDK with your specified set of AWS services. This can allow you to reduce the SDK's size, specify different API versions of diff --git a/apis/dynamodb-2012-08-10.min.json b/apis/dynamodb-2012-08-10.min.json index 4b2edc3814..4c497f6b8b 100644 --- a/apis/dynamodb-2012-08-10.min.json +++ b/apis/dynamodb-2012-08-10.min.json @@ -192,43 +192,46 @@ ], "members": { "AttributeDefinitions": { - "shape": "S2m" + "shape": "S2o" }, "TableName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "LocalSecondaryIndexes": { - "shape": "S2t" + "shape": "S2v" }, "GlobalSecondaryIndexes": { - "shape": "S2z" + "shape": "S31" }, "BillingMode": {}, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" }, "StreamSpecification": { - "shape": "S33" + "shape": "S36" }, "SSESpecification": { - "shape": "S36" + "shape": "S39" }, "Tags": { - "shape": "S39" + "shape": "S3c" }, "TableClass": {}, "DeletionProtectionEnabled": { "type": "boolean" }, - "ResourcePolicy": {} + "ResourcePolicy": {}, + "OnDemandThroughput": { + "shape": "S34" + } } }, "output": { "type": "structure", "members": { "TableDescription": { - "shape": "S3g" + "shape": "S3j" } } }, @@ -248,7 +251,7 @@ "type": "structure", "members": { "BackupDescription": { - "shape": "S43" + "shape": "S45" } } }, @@ -267,7 +270,7 @@ "shape": "S14" }, "Expected": { - "shape": "S4g" + "shape": "S4i" }, "ConditionalOperator": {}, "ReturnValues": {}, @@ -278,7 +281,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -332,7 +335,7 @@ "type": "structure", "members": { "TableDescription": { - "shape": "S3g" + "shape": "S3j" } } }, @@ -352,7 +355,7 @@ "type": "structure", "members": { "BackupDescription": { - "shape": "S43" + "shape": "S45" } } }, @@ -372,7 +375,7 @@ "type": "structure", "members": { "ContinuousBackupsDescription": { - "shape": "S51" + "shape": "S53" } } }, @@ -457,7 +460,7 @@ "type": "structure", "members": { "ExportDescription": { - "shape": "S5m" + "shape": "S5o" } } } @@ -497,7 +500,7 @@ "members": { "GlobalTableName": {}, "ReplicaSettings": { - "shape": "S6b" + "shape": "S6d" } } }, @@ -520,7 +523,7 @@ ], "members": { "ImportTableDescription": { - "shape": "S6p" + "shape": "S6r" } } } @@ -593,7 +596,7 @@ "type": "structure", "members": { "Table": { - "shape": "S3g" + "shape": "S3j" } } }, @@ -613,7 +616,7 @@ "type": "structure", "members": { "TableAutoScalingDescription": { - "shape": "S7i" + "shape": "S7k" } } } @@ -632,7 +635,7 @@ "type": "structure", "members": { "TimeToLiveDescription": { - "shape": "S4c" + "shape": "S4e" } } }, @@ -640,19 +643,19 @@ }, "DisableKinesisStreamingDestination": { "input": { - "shape": "S7p" + "shape": "S7r" }, "output": { - "shape": "S7r" + "shape": "S7t" }, "endpointdiscovery": {} }, "EnableKinesisStreamingDestination": { "input": { - "shape": "S7p" + "shape": "S7r" }, "output": { - "shape": "S7r" + "shape": "S7t" }, "endpointdiscovery": {} }, @@ -727,7 +730,7 @@ "type": "structure", "members": { "Responses": { - "shape": "S81" + "shape": "S83" }, "ConsumedCapacity": { "shape": "St" @@ -758,7 +761,7 @@ "ExportFormat": {}, "ExportType": {}, "IncrementalExportSpecification": { - "shape": "S63" + "shape": "S65" } } }, @@ -766,7 +769,7 @@ "type": "structure", "members": { "ExportDescription": { - "shape": "S5m" + "shape": "S5o" } } } @@ -841,15 +844,15 @@ "idempotencyToken": true }, "S3BucketSource": { - "shape": "S6r" + "shape": "S6t" }, "InputFormat": {}, "InputFormatOptions": { - "shape": "S6v" + "shape": "S6x" }, "InputCompressionType": {}, "TableCreationParameters": { - "shape": "S71" + "shape": "S73" } } }, @@ -860,7 +863,7 @@ ], "members": { "ImportTableDescription": { - "shape": "S6p" + "shape": "S6r" } } } @@ -1027,7 +1030,7 @@ "ImportStatus": {}, "TableArn": {}, "S3BucketSource": { - "shape": "S6r" + "shape": "S6t" }, "CloudWatchLogGroupArn": {}, "InputFormat": {}, @@ -1081,7 +1084,7 @@ "type": "structure", "members": { "Tags": { - "shape": "S39" + "shape": "S3c" }, "NextToken": {} } @@ -1101,7 +1104,7 @@ "shape": "S1h" }, "Expected": { - "shape": "S4g" + "shape": "S4i" }, "ReturnValues": {}, "ReturnConsumedCapacity": {}, @@ -1112,7 +1115,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -1180,11 +1183,11 @@ "type": "map", "key": {}, "value": { - "shape": "S9j" + "shape": "S9l" } }, "QueryFilter": { - "shape": "S9k" + "shape": "S9m" }, "ConditionalOperator": {}, "ScanIndexForward": { @@ -1201,7 +1204,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" } } }, @@ -1239,16 +1242,19 @@ "BackupArn": {}, "BillingModeOverride": {}, "GlobalSecondaryIndexOverride": { - "shape": "S2z" + "shape": "S31" }, "LocalSecondaryIndexOverride": { - "shape": "S2t" + "shape": "S2v" }, "ProvisionedThroughputOverride": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughputOverride": { + "shape": "S34" }, "SSESpecificationOverride": { - "shape": "S36" + "shape": "S39" } } }, @@ -1256,7 +1262,7 @@ "type": "structure", "members": { "TableDescription": { - "shape": "S3g" + "shape": "S3j" } } }, @@ -1280,16 +1286,19 @@ }, "BillingModeOverride": {}, "GlobalSecondaryIndexOverride": { - "shape": "S2z" + "shape": "S31" }, "LocalSecondaryIndexOverride": { - "shape": "S2t" + "shape": "S2v" }, "ProvisionedThroughputOverride": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughputOverride": { + "shape": "S34" }, "SSESpecificationOverride": { - "shape": "S36" + "shape": "S39" } } }, @@ -1297,7 +1306,7 @@ "type": "structure", "members": { "TableDescription": { - "shape": "S3g" + "shape": "S3j" } } }, @@ -1320,7 +1329,7 @@ }, "Select": {}, "ScanFilter": { - "shape": "S9k" + "shape": "S9m" }, "ConditionalOperator": {}, "ExclusiveStartKey": { @@ -1339,7 +1348,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ConsistentRead": { "type": "boolean" @@ -1378,7 +1387,7 @@ "members": { "ResourceArn": {}, "Tags": { - "shape": "S39" + "shape": "S3c" } } }, @@ -1429,7 +1438,7 @@ "shape": "St" }, "Responses": { - "shape": "S81" + "shape": "S83" } } }, @@ -1464,7 +1473,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -1485,7 +1494,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -1506,7 +1515,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -1529,7 +1538,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -1600,7 +1609,7 @@ "type": "structure", "members": { "ContinuousBackupsDescription": { - "shape": "S51" + "shape": "S53" } } }, @@ -1688,7 +1697,7 @@ "type": "long" }, "GlobalTableProvisionedWriteCapacityAutoScalingSettingsUpdate": { - "shape": "Saq" + "shape": "Sas" }, "GlobalTableGlobalSecondaryIndexSettingsUpdate": { "type": "list", @@ -1703,7 +1712,7 @@ "type": "long" }, "ProvisionedWriteCapacityAutoScalingSettingsUpdate": { - "shape": "Saq" + "shape": "Sas" } } } @@ -1721,7 +1730,7 @@ "type": "long" }, "ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate": { - "shape": "Saq" + "shape": "Sas" }, "ReplicaGlobalSecondaryIndexSettingsUpdate": { "type": "list", @@ -1736,7 +1745,7 @@ "type": "long" }, "ProvisionedReadCapacityAutoScalingSettingsUpdate": { - "shape": "Saq" + "shape": "Sas" } } } @@ -1752,7 +1761,7 @@ "members": { "GlobalTableName": {}, "ReplicaSettings": { - "shape": "S6b" + "shape": "S6d" } } }, @@ -1784,7 +1793,7 @@ } }, "Expected": { - "shape": "S4g" + "shape": "S4i" }, "ConditionalOperator": {}, "ReturnValues": {}, @@ -1796,7 +1805,7 @@ "shape": "S17" }, "ExpressionAttributeValues": { - "shape": "S4o" + "shape": "S4q" }, "ReturnValuesOnConditionCheckFailure": {} } @@ -1828,7 +1837,7 @@ "TableName": {}, "StreamArn": {}, "UpdateKinesisStreamingConfiguration": { - "shape": "Sb7" + "shape": "Sb9" } } }, @@ -1839,7 +1848,7 @@ "StreamArn": {}, "DestinationStatus": {}, "UpdateKinesisStreamingConfiguration": { - "shape": "Sb7" + "shape": "Sb9" } } }, @@ -1853,12 +1862,12 @@ ], "members": { "AttributeDefinitions": { - "shape": "S2m" + "shape": "S2o" }, "TableName": {}, "BillingMode": {}, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" }, "GlobalSecondaryIndexUpdates": { "type": "list", @@ -1868,13 +1877,15 @@ "Update": { "type": "structure", "required": [ - "IndexName", - "ProvisionedThroughput" + "IndexName" ], "members": { "IndexName": {}, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughput": { + "shape": "S34" } } }, @@ -1888,13 +1899,16 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" }, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughput": { + "shape": "S34" } } }, @@ -1911,10 +1925,10 @@ } }, "StreamSpecification": { - "shape": "S33" + "shape": "S36" }, "SSESpecification": { - "shape": "S36" + "shape": "S39" }, "ReplicaUpdates": { "type": "list", @@ -1932,8 +1946,11 @@ "ProvisionedThroughputOverride": { "shape": "S2d" }, + "OnDemandThroughputOverride": { + "shape": "S2f" + }, "GlobalSecondaryIndexes": { - "shape": "Sbi" + "shape": "Sbk" }, "TableClassOverride": {} } @@ -1949,8 +1966,11 @@ "ProvisionedThroughputOverride": { "shape": "S2d" }, + "OnDemandThroughputOverride": { + "shape": "S2f" + }, "GlobalSecondaryIndexes": { - "shape": "Sbi" + "shape": "Sbk" }, "TableClassOverride": {} } @@ -1970,6 +1990,9 @@ "TableClass": {}, "DeletionProtectionEnabled": { "type": "boolean" + }, + "OnDemandThroughput": { + "shape": "S34" } } }, @@ -1977,7 +2000,7 @@ "type": "structure", "members": { "TableDescription": { - "shape": "S3g" + "shape": "S3j" } } }, @@ -1997,14 +2020,14 @@ "members": { "IndexName": {}, "ProvisionedWriteCapacityAutoScalingUpdate": { - "shape": "Saq" + "shape": "Sas" } } } }, "TableName": {}, "ProvisionedWriteCapacityAutoScalingUpdate": { - "shape": "Saq" + "shape": "Sas" }, "ReplicaUpdates": { "type": "list", @@ -2022,13 +2045,13 @@ "members": { "IndexName": {}, "ProvisionedReadCapacityAutoScalingUpdate": { - "shape": "Saq" + "shape": "Sas" } } } }, "ReplicaProvisionedReadCapacityAutoScalingUpdate": { - "shape": "Saq" + "shape": "Sas" } } } @@ -2039,7 +2062,7 @@ "type": "structure", "members": { "TableAutoScalingDescription": { - "shape": "S7i" + "shape": "S7k" } } } @@ -2054,7 +2077,7 @@ "members": { "TableName": {}, "TimeToLiveSpecification": { - "shape": "Sbw" + "shape": "Sby" } } }, @@ -2062,7 +2085,7 @@ "type": "structure", "members": { "TimeToLiveSpecification": { - "shape": "Sbw" + "shape": "Sby" } } }, @@ -2357,6 +2380,9 @@ "ProvisionedThroughputOverride": { "shape": "S2d" }, + "OnDemandThroughputOverride": { + "shape": "S2f" + }, "GlobalSecondaryIndexes": { "type": "list", "member": { @@ -2365,6 +2391,9 @@ "IndexName": {}, "ProvisionedThroughputOverride": { "shape": "S2d" + }, + "OnDemandThroughputOverride": { + "shape": "S2f" } } } @@ -2373,7 +2402,7 @@ "type": "timestamp" }, "ReplicaTableClassSummary": { - "shape": "S2h" + "shape": "S2j" } } } @@ -2386,7 +2415,15 @@ } } }, - "S2h": { + "S2f": { + "type": "structure", + "members": { + "MaxReadRequestUnits": { + "type": "long" + } + } + }, + "S2j": { "type": "structure", "members": { "TableClass": {}, @@ -2395,7 +2432,7 @@ } } }, - "S2m": { + "S2o": { "type": "list", "member": { "type": "structure", @@ -2409,7 +2446,7 @@ } } }, - "S2q": { + "S2s": { "type": "list", "member": { "type": "structure", @@ -2423,7 +2460,7 @@ } } }, - "S2t": { + "S2v": { "type": "list", "member": { "type": "structure", @@ -2435,15 +2472,15 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" } } } }, - "S2v": { + "S2x": { "type": "structure", "members": { "ProjectionType": {}, @@ -2453,7 +2490,7 @@ } } }, - "S2z": { + "S31": { "type": "list", "member": { "type": "structure", @@ -2465,18 +2502,21 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" }, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughput": { + "shape": "S34" } } } }, - "S31": { + "S33": { "type": "structure", "required": [ "ReadCapacityUnits", @@ -2491,7 +2531,18 @@ } } }, - "S33": { + "S34": { + "type": "structure", + "members": { + "MaxReadRequestUnits": { + "type": "long" + }, + "MaxWriteRequestUnits": { + "type": "long" + } + } + }, + "S36": { "type": "structure", "required": [ "StreamEnabled" @@ -2503,7 +2554,7 @@ "StreamViewType": {} } }, - "S36": { + "S39": { "type": "structure", "members": { "Enabled": { @@ -2513,7 +2564,7 @@ "KMSMasterKeyId": {} } }, - "S39": { + "S3c": { "type": "list", "member": { "type": "structure", @@ -2527,22 +2578,22 @@ } } }, - "S3g": { + "S3j": { "type": "structure", "members": { "AttributeDefinitions": { - "shape": "S2m" + "shape": "S2o" }, "TableName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "TableStatus": {}, "CreationDateTime": { "type": "timestamp" }, "ProvisionedThroughput": { - "shape": "S3i" + "shape": "S3l" }, "TableSizeBytes": { "type": "long" @@ -2553,7 +2604,7 @@ "TableArn": {}, "TableId": {}, "BillingModeSummary": { - "shape": "S3m" + "shape": "S3o" }, "LocalSecondaryIndexes": { "type": "list", @@ -2562,10 +2613,10 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" }, "IndexSizeBytes": { "type": "long" @@ -2584,17 +2635,17 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" }, "IndexStatus": {}, "Backfilling": { "type": "boolean" }, "ProvisionedThroughput": { - "shape": "S3i" + "shape": "S3l" }, "IndexSizeBytes": { "type": "long" @@ -2602,12 +2653,15 @@ "ItemCount": { "type": "long" }, - "IndexArn": {} + "IndexArn": {}, + "OnDemandThroughput": { + "shape": "S34" + } } } }, "StreamSpecification": { - "shape": "S33" + "shape": "S36" }, "LatestStreamLabel": {}, "LatestStreamArn": {}, @@ -2633,7 +2687,7 @@ } }, "SSEDescription": { - "shape": "S3w" + "shape": "S3y" }, "ArchivalSummary": { "type": "structure", @@ -2646,14 +2700,17 @@ } }, "TableClassSummary": { - "shape": "S2h" + "shape": "S2j" }, "DeletionProtectionEnabled": { "type": "boolean" + }, + "OnDemandThroughput": { + "shape": "S34" } } }, - "S3i": { + "S3l": { "type": "structure", "members": { "LastIncreaseDateTime": { @@ -2673,7 +2730,7 @@ } } }, - "S3m": { + "S3o": { "type": "structure", "members": { "BillingMode": {}, @@ -2682,7 +2739,7 @@ } } }, - "S3w": { + "S3y": { "type": "structure", "members": { "Status": {}, @@ -2693,7 +2750,7 @@ } } }, - "S43": { + "S45": { "type": "structure", "members": { "BackupDetails": { @@ -2716,13 +2773,16 @@ "type": "long" }, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "TableCreationDateTime": { "type": "timestamp" }, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughput": { + "shape": "S34" }, "ItemCount": { "type": "long" @@ -2740,10 +2800,10 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" } } } @@ -2755,38 +2815,41 @@ "members": { "IndexName": {}, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "Projection": { - "shape": "S2v" + "shape": "S2x" }, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughput": { + "shape": "S34" } } } }, "StreamDescription": { - "shape": "S33" + "shape": "S36" }, "TimeToLiveDescription": { - "shape": "S4c" + "shape": "S4e" }, "SSEDescription": { - "shape": "S3w" + "shape": "S3y" } } } } }, - "S4c": { + "S4e": { "type": "structure", "members": { "TimeToLiveStatus": {}, "AttributeName": {} } }, - "S4g": { + "S4i": { "type": "map", "key": {}, "value": { @@ -2800,25 +2863,25 @@ }, "ComparisonOperator": {}, "AttributeValueList": { - "shape": "S4k" + "shape": "S4m" } } } }, - "S4k": { + "S4m": { "type": "list", "member": { "shape": "S6" } }, - "S4o": { + "S4q": { "type": "map", "key": {}, "value": { "shape": "S6" } }, - "S51": { + "S53": { "type": "structure", "required": [ "ContinuousBackupsStatus" @@ -2839,7 +2902,7 @@ } } }, - "S5m": { + "S5o": { "type": "structure", "members": { "ExportArn": {}, @@ -2873,11 +2936,11 @@ }, "ExportType": {}, "IncrementalExportSpecification": { - "shape": "S63" + "shape": "S65" } } }, - "S63": { + "S65": { "type": "structure", "members": { "ExportFromTime": { @@ -2889,7 +2952,7 @@ "ExportViewType": {} } }, - "S6b": { + "S6d": { "type": "list", "member": { "type": "structure", @@ -2900,19 +2963,19 @@ "RegionName": {}, "ReplicaStatus": {}, "ReplicaBillingModeSummary": { - "shape": "S3m" + "shape": "S3o" }, "ReplicaProvisionedReadCapacityUnits": { "type": "long" }, "ReplicaProvisionedReadCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" }, "ReplicaProvisionedWriteCapacityUnits": { "type": "long" }, "ReplicaProvisionedWriteCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" }, "ReplicaGlobalSecondaryIndexSettings": { "type": "list", @@ -2928,24 +2991,24 @@ "type": "long" }, "ProvisionedReadCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" }, "ProvisionedWriteCapacityUnits": { "type": "long" }, "ProvisionedWriteCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" } } } }, "ReplicaTableClassSummary": { - "shape": "S2h" + "shape": "S2j" } } } }, - "S6d": { + "S6f": { "type": "structure", "members": { "MinimumUnits": { @@ -2989,7 +3052,7 @@ } } }, - "S6p": { + "S6r": { "type": "structure", "members": { "ImportArn": {}, @@ -2998,7 +3061,7 @@ "TableId": {}, "ClientToken": {}, "S3BucketSource": { - "shape": "S6r" + "shape": "S6t" }, "ErrorCount": { "type": "long" @@ -3006,11 +3069,11 @@ "CloudWatchLogGroupArn": {}, "InputFormat": {}, "InputFormatOptions": { - "shape": "S6v" + "shape": "S6x" }, "InputCompressionType": {}, "TableCreationParameters": { - "shape": "S71" + "shape": "S73" }, "StartTime": { "type": "timestamp" @@ -3031,7 +3094,7 @@ "FailureMessage": {} } }, - "S6r": { + "S6t": { "type": "structure", "required": [ "S3Bucket" @@ -3042,7 +3105,7 @@ "S3KeyPrefix": {} } }, - "S6v": { + "S6x": { "type": "structure", "members": { "Csv": { @@ -3057,7 +3120,7 @@ } } }, - "S71": { + "S73": { "type": "structure", "required": [ "TableName", @@ -3067,24 +3130,27 @@ "members": { "TableName": {}, "AttributeDefinitions": { - "shape": "S2m" + "shape": "S2o" }, "KeySchema": { - "shape": "S2q" + "shape": "S2s" }, "BillingMode": {}, "ProvisionedThroughput": { - "shape": "S31" + "shape": "S33" + }, + "OnDemandThroughput": { + "shape": "S34" }, "SSESpecification": { - "shape": "S36" + "shape": "S39" }, "GlobalSecondaryIndexes": { - "shape": "S2z" + "shape": "S31" } } }, - "S7i": { + "S7k": { "type": "structure", "members": { "TableName": {}, @@ -3103,19 +3169,19 @@ "IndexName": {}, "IndexStatus": {}, "ProvisionedReadCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" }, "ProvisionedWriteCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" } } } }, "ReplicaProvisionedReadCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" }, "ReplicaProvisionedWriteCapacityAutoScalingSettings": { - "shape": "S6d" + "shape": "S6f" }, "ReplicaStatus": {} } @@ -3123,7 +3189,7 @@ } } }, - "S7p": { + "S7r": { "type": "structure", "required": [ "TableName", @@ -3133,28 +3199,28 @@ "TableName": {}, "StreamArn": {}, "EnableKinesisStreamingConfiguration": { - "shape": "S7q" + "shape": "S7s" } } }, - "S7q": { + "S7s": { "type": "structure", "members": { "ApproximateCreationDateTimePrecision": {} } }, - "S7r": { + "S7t": { "type": "structure", "members": { "TableName": {}, "StreamArn": {}, "DestinationStatus": {}, "EnableKinesisStreamingConfiguration": { - "shape": "S7q" + "shape": "S7s" } } }, - "S81": { + "S83": { "type": "list", "member": { "type": "structure", @@ -3165,26 +3231,26 @@ } } }, - "S9j": { + "S9l": { "type": "structure", "required": [ "ComparisonOperator" ], "members": { "AttributeValueList": { - "shape": "S4k" + "shape": "S4m" }, "ComparisonOperator": {} } }, - "S9k": { + "S9m": { "type": "map", "key": {}, "value": { - "shape": "S9j" + "shape": "S9l" } }, - "Saq": { + "Sas": { "type": "structure", "members": { "MinimumUnits": { @@ -3228,13 +3294,13 @@ } } }, - "Sb7": { + "Sb9": { "type": "structure", "members": { "ApproximateCreationDateTimePrecision": {} } }, - "Sbi": { + "Sbk": { "type": "list", "member": { "type": "structure", @@ -3245,11 +3311,14 @@ "IndexName": {}, "ProvisionedThroughputOverride": { "shape": "S2d" + }, + "OnDemandThroughputOverride": { + "shape": "S2f" } } } }, - "Sbw": { + "Sby": { "type": "structure", "required": [ "Enabled", diff --git a/apis/dynamodb-2012-08-10.normal.json b/apis/dynamodb-2012-08-10.normal.json index 2b02810c78..052503b3e1 100644 --- a/apis/dynamodb-2012-08-10.normal.json +++ b/apis/dynamodb-2012-08-10.normal.json @@ -819,7 +819,7 @@ "shape": "PolicyNotFoundException" } ], - "documentation": "
Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format.
GetResourcePolicy
follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy
request immediately after issuing another request:
If you issue a GetResourcePolicy
request immediately after a PutResourcePolicy
request, DynamoDB might return a PolicyNotFoundException
.
If you issue a GetResourcePolicy
request immediately after a DeleteResourcePolicy
request, DynamoDB might return the policy that was present before the deletion request.
If you issue a GetResourcePolicy
request immediately after a CreateTable
request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException
or a PolicyNotFoundException
.
Because GetResourcePolicy
uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy
request.
After a GetResourcePolicy
request returns a policy created using the PutResourcePolicy
request, you can assume the policy will start getting applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable
request will always be applied to all requests for that table.
Returns the resource-based policy document attached to the resource, which can be a table or stream, in JSON format.
GetResourcePolicy
follows an eventually consistent model. The following list describes the outcomes when you issue the GetResourcePolicy
request immediately after issuing another request:
If you issue a GetResourcePolicy
request immediately after a PutResourcePolicy
request, DynamoDB might return a PolicyNotFoundException
.
If you issue a GetResourcePolicy
request immediately after a DeleteResourcePolicy
request, DynamoDB might return the policy that was present before the deletion request.
If you issue a GetResourcePolicy
request immediately after a CreateTable
request, which includes a resource-based policy, DynamoDB might return a ResourceNotFoundException
or a PolicyNotFoundException
.
Because GetResourcePolicy
uses an eventually consistent query, the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then retry the GetResourcePolicy
request.
After a GetResourcePolicy
request returns a policy created using the PutResourcePolicy
request, the policy will be applied in the authorization of requests to the resource. Because this process is eventually consistent, it will take some time to apply the policy to all requests to a resource. Policies that you attach while creating a table using the CreateTable
request will always be applied to all requests for that table.
Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent .
PutResourcePolicy
is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId
which doesn't match the current policy's RevisionId
, the PolicyNotFoundException
will be returned.
PutResourcePolicy
is an asynchronous operation. If you issue a GetResourcePolicy
request immediately after a PutResourcePolicy
request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException
. This is because GetResourcePolicy
uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy
request again.
Attaches a resource-based policy document to the resource, which can be a table or stream. When you attach a resource-based policy using this API, the policy application is eventually consistent .
PutResourcePolicy
is an idempotent operation; running it multiple times on the same resource using the same policy document will return the same revision ID. If you specify an ExpectedRevisionId
that doesn't match the current policy's RevisionId
, the PolicyNotFoundException
will be returned.
PutResourcePolicy
is an asynchronous operation. If you issue a GetResourcePolicy
request immediately after a PutResourcePolicy
request, DynamoDB might return your previous policy, if there was one, or return the PolicyNotFoundException
. This is because GetResourcePolicy
uses an eventually consistent query, and the metadata for your policy or table might not be available at that moment. Wait for a few seconds, and then try the GetResourcePolicy
request again.
Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents a new global secondary index to be added to an existing table.
" @@ -2648,6 +2652,10 @@ "shape": "ProvisionedThroughputOverride", "documentation": "Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
" }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughputOverride", + "documentation": "The maximum on-demand throughput settings for the specified replica table being created. You can only modify MaxReadRequestUnits
, because you can't modify MaxWriteRequestUnits
for individual replica tables.
Replica-specific global secondary index settings.
" @@ -2717,7 +2725,11 @@ }, "ResourcePolicy": { "shape": "ResourcePolicy", - "documentation": "An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.
When you attach a resource-based policy while creating a table, the policy creation is strongly consistent.
The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. You can’t request an increase for this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
" + "documentation": "An Amazon Web Services resource-based policy document in JSON format that will be attached to the table.
When you attach a resource-based policy while creating a table, the policy application is strongly consistent.
The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that apply for resource-based policies, see Resource-based policy considerations.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the input of a CreateTable
operation.
A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
This value will be empty if you make a request against a resource without a policy.
" + "documentation": "A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
This value will be empty if you make a request against a resource without a policy.
" } } }, @@ -3870,7 +3882,7 @@ }, "RevisionId": { "shape": "PolicyRevisionId", - "documentation": "A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
" + "documentation": "A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
" } } }, @@ -3897,6 +3909,10 @@ "ProvisionedThroughput": { "shape": "ProvisionedThroughput", "documentation": "Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the properties of a global secondary index.
" @@ -3959,6 +3975,10 @@ "IndexArn": { "shape": "String", "documentation": "The Amazon Resource Name (ARN) that uniquely identifies the index.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the properties of a global secondary index.
" @@ -3987,6 +4007,9 @@ "ProvisionedThroughput": { "shape": "ProvisionedThroughput", "documentation": "Represents the provisioned throughput settings for the specified global secondary index.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput" } }, "documentation": "Represents the properties of a global secondary index for the table when the backup was created.
" @@ -5013,6 +5036,30 @@ "shape": "NumberAttributeValue" } }, + "OnDemandThroughput": { + "type": "structure", + "members": { + "MaxReadRequestUnits": { + "shape": "LongObject", + "documentation": "Maximum number of read request units for the specified table.
To specify a maximum OnDemandThroughput
on your table, set the value of MaxReadRequestUnits
as greater than or equal to 1. To remove the maximum OnDemandThroughput
that is currently set on your table, set the value of MaxReadRequestUnits
to -1.
Maximum number of write request units for the specified table.
To specify a maximum OnDemandThroughput
on your table, set the value of MaxWriteRequestUnits
as greater than or equal to 1. To remove the maximum OnDemandThroughput
that is currently set on your table, set the value of MaxWriteRequestUnits
to -1.
Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Maximum number of read request units for the specified replica table.
" + } + }, + "documentation": "Overrides the on-demand throughput settings for this replica table. If you don't specify a value for this parameter, it uses the source table's on-demand throughput settings.
" + }, "ParameterizedStatement": { "type": "structure", "required": [ @@ -5347,11 +5394,11 @@ }, "Policy": { "shape": "ResourcePolicy", - "documentation": "An Amazon Web Services resource-based policy document in JSON format.
The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit. For a full list of all considerations that you should keep in mind while attaching a resource-based policy, see Resource-based policy considerations.
" + "documentation": "An Amazon Web Services resource-based policy document in JSON format.
The maximum size supported for a resource-based policy document is 20 KB. DynamoDB counts whitespaces when calculating the size of a policy against this limit.
Within a resource-based policy, if the action for a DynamoDB service-linked role (SLR) to replicate data for a global table is denied, adding or deleting a replica will fail with an error.
For a full list of all considerations that apply while attaching a resource-based policy, see Resource-based policy considerations.
" }, "ExpectedRevisionId": { "shape": "PolicyRevisionId", - "documentation": "A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy. When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException
.
To conditionally put a policy when no policy exists for the resource, specify NO_POLICY
for the revision ID.
A string value that you can use to conditionally update your policy. You can provide the revision ID of your existing policy to make mutating requests against that policy.
When you provide an expected revision ID, if the revision ID of the existing policy on the resource doesn't match or if there's no policy attached to the resource, your request will be rejected with a PolicyNotFoundException
.
To conditionally attach a policy when no policy exists for the resource, specify NO_POLICY
for the revision ID.
A unique string that represents the revision ID of the policy. If you are comparing revision IDs, make sure to always use string comparison logic.
" + "documentation": "A unique string that represents the revision ID of the policy. If you're comparing revision IDs, make sure to always use string comparison logic.
" } } }, @@ -5567,6 +5614,10 @@ "shape": "ProvisionedThroughputOverride", "documentation": "Replica-specific provisioned throughput. If not described, uses the source table's provisioned throughput settings.
" }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughputOverride", + "documentation": "Overrides the maximum on-demand throughput settings for the specified replica table.
" + }, "GlobalSecondaryIndexes": { "shape": "ReplicaGlobalSecondaryIndexDescriptionList", "documentation": "Replica-specific global secondary index settings.
" @@ -5600,6 +5651,10 @@ "ProvisionedThroughputOverride": { "shape": "ProvisionedThroughputOverride", "documentation": "Replica table GSI-specific provisioned throughput. If not specified, uses the source table GSI's read capacity settings.
" + }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughputOverride", + "documentation": "Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.
" } }, "documentation": "Represents the properties of a replica global secondary index.
" @@ -5659,6 +5714,10 @@ "ProvisionedThroughputOverride": { "shape": "ProvisionedThroughputOverride", "documentation": "If not described, uses the source table GSI's read capacity settings.
" + }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughputOverride", + "documentation": "Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.
" } }, "documentation": "Represents the properties of a replica global secondary index.
" @@ -5968,6 +6027,9 @@ "shape": "ProvisionedThroughput", "documentation": "Provisioned throughput settings for the restored table.
" }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughput" + }, "SSESpecificationOverride": { "shape": "SSESpecification", "documentation": "The new server-side encryption settings for the restored table.
" @@ -6025,6 +6087,9 @@ "shape": "ProvisionedThroughput", "documentation": "Provisioned throughput settings for the restored table.
" }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughput" + }, "SSESpecificationOverride": { "shape": "SSESpecification", "documentation": "The new server-side encryption settings for the restored table.
" @@ -6351,6 +6416,9 @@ "shape": "ProvisionedThroughput", "documentation": "Read IOPs and Write IOPS on the table when the backup was created.
" }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput" + }, "ItemCount": { "shape": "ItemCount", "documentation": "Number of items in the table. Note that this is an approximate value.
" @@ -6508,6 +6576,9 @@ "ProvisionedThroughput": { "shape": "ProvisionedThroughput" }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput" + }, "SSESpecification": { "shape": "SSESpecification" }, @@ -6612,6 +6683,10 @@ "DeletionProtectionEnabled": { "shape": "DeletionProtectionEnabled", "documentation": "Indicates whether deletion protection is enabled (true) or disabled (false) on the table.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the properties of a table.
" @@ -6999,8 +7074,7 @@ "UpdateGlobalSecondaryIndexAction": { "type": "structure", "required": [ - "IndexName", - "ProvisionedThroughput" + "IndexName" ], "members": { "IndexName": { @@ -7010,6 +7084,10 @@ "ProvisionedThroughput": { "shape": "ProvisionedThroughput", "documentation": "Represents the provisioned throughput settings for the specified global secondary index.
For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas in the Amazon DynamoDB Developer Guide.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the new provisioned throughput settings to be applied to a global secondary index.
" @@ -7234,6 +7312,10 @@ "shape": "ProvisionedThroughputOverride", "documentation": "Replica-specific provisioned throughput. If not specified, uses the source table's provisioned throughput settings.
" }, + "OnDemandThroughputOverride": { + "shape": "OnDemandThroughputOverride", + "documentation": "Overrides the maximum on-demand throughput for the replica table.
" + }, "GlobalSecondaryIndexes": { "shape": "ReplicaGlobalSecondaryIndexList", "documentation": "Replica-specific global secondary index settings.
" @@ -7290,6 +7372,10 @@ "DeletionProtectionEnabled": { "shape": "DeletionProtectionEnabled", "documentation": "Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
" + }, + "OnDemandThroughput": { + "shape": "OnDemandThroughput", + "documentation": "Updates the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits
, MaxWriteRequestUnits
, or both.
Represents the input of an UpdateTable
operation.
Gets the default instance metadata service (IMDS) settings that are set at the account level in the specified Amazon Web Services Region.
For more information, see Order of precedence for instance metadata options in the Amazon EC2 User Guide.
" }, + "GetInstanceTpmEkPub": { + "name": "GetInstanceTpmEkPub", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "GetInstanceTpmEkPubRequest" + }, + "output": { + "shape": "GetInstanceTpmEkPubResult" + }, + "documentation": "Gets the public endorsement key associated with the Nitro Trusted Platform Module (NitroTPM) for the specified instance.
" + }, "GetInstanceTypesFromInstanceRequirements": { "name": "GetInstanceTypesFromInstanceRequirements", "http": { @@ -30220,6 +30234,24 @@ "locationName": "item" } }, + "EkPubKeyFormat": { + "type": "string", + "enum": [ + "der", + "tpmt" + ] + }, + "EkPubKeyType": { + "type": "string", + "enum": [ + "rsa-2048", + "ecc-sec-p384" + ] + }, + "EkPubKeyValue": { + "type": "string", + "sensitive": true + }, "ElasticGpuAssociation": { "type": "structure", "members": { @@ -33730,6 +33762,57 @@ } } }, + "GetInstanceTpmEkPubRequest": { + "type": "structure", + "required": [ + "InstanceId", + "KeyType", + "KeyFormat" + ], + "members": { + "InstanceId": { + "shape": "InstanceId", + "documentation": "The ID of the instance for which to get the public endorsement key.
" + }, + "KeyType": { + "shape": "EkPubKeyType", + "documentation": "The required public endorsement key type.
" + }, + "KeyFormat": { + "shape": "EkPubKeyFormat", + "documentation": "The required public endorsement key format. Specify der
for a DER-encoded public key that is compatible with OpenSSL. Specify tpmt
for a TPM 2.0 format that is compatible with tpm2-tools. The returned key is base64 encoded.
Specify this parameter to verify whether the request will succeed, without actually making the request. If the request will succeed, the response is DryRunOperation
. Otherwise, the response is UnauthorizedOperation
.
The ID of the instance.
", + "locationName": "instanceId" + }, + "KeyType": { + "shape": "EkPubKeyType", + "documentation": "The public endorsement key type.
", + "locationName": "keyType" + }, + "KeyFormat": { + "shape": "EkPubKeyFormat", + "documentation": "The public endorsement key format.
", + "locationName": "keyFormat" + }, + "KeyValue": { + "shape": "EkPubKeyValue", + "documentation": "The public endorsement key material.
", + "locationName": "keyValue" + } + } + }, "GetInstanceTypesFromInstanceRequirementsRequest": { "type": "structure", "required": [ diff --git a/apis/personalize-2018-05-22.min.json b/apis/personalize-2018-05-22.min.json index 5f43b79407..d0aea6f7c8 100644 --- a/apis/personalize-2018-05-22.min.json +++ b/apis/personalize-2018-05-22.min.json @@ -5,6 +5,9 @@ "endpointPrefix": "personalize", "jsonVersion": "1.1", "protocol": "json", + "protocols": [ + "json" + ], "serviceFullName": "Amazon Personalize", "serviceId": "Personalize", "signatureVersion": "v4", @@ -121,6 +124,34 @@ }, "idempotent": true }, + "CreateDataDeletionJob": { + "input": { + "type": "structure", + "required": [ + "jobName", + "datasetGroupArn", + "dataSource", + "roleArn" + ], + "members": { + "jobName": {}, + "datasetGroupArn": {}, + "dataSource": { + "shape": "Sy" + }, + "roleArn": {}, + "tags": { + "shape": "Sf" + } + } + }, + "output": { + "type": "structure", + "members": { + "dataDeletionJobArn": {} + } + } + }, "CreateDataset": { "input": { "type": "structure", @@ -163,7 +194,7 @@ "ingestionMode": {}, "roleArn": {}, "jobOutput": { - "shape": "S12" + "shape": "S15" }, "tags": { "shape": "Sf" @@ -215,7 +246,7 @@ "jobName": {}, "datasetArn": {}, "dataSource": { - "shape": "S18" + "shape": "Sy" }, "roleArn": {}, "tags": { @@ -270,7 +301,7 @@ "name": {}, "datasetGroupArn": {}, "filterExpression": { - "shape": "S1f" + "shape": "S1h" }, "tags": { "shape": "Sf" @@ -297,10 +328,10 @@ "name": {}, "datasetGroupArn": {}, "metrics": { - "shape": "S1i" + "shape": "S1k" }, "metricsOutputConfig": { - "shape": "S1n" + "shape": "S1p" } } }, @@ -324,7 +355,7 @@ "datasetGroupArn": {}, "recipeArn": {}, "recommenderConfig": { - "shape": "S1q" + "shape": "S1s" }, "tags": { "shape": "Sf" @@ -382,7 +413,7 @@ "datasetGroupArn": {}, "eventType": {}, "solutionConfig": { - "shape": "S21" + "shape": "S23" }, "tags": { "shape": "Sf" @@ -602,7 +633,7 @@ "members": { "name": {}, "values": { - "shape": "S2k" + "shape": "S2m" }, "isTunable": { "type": "boolean" @@ -785,6 +816,46 @@ }, "idempotent": true }, + "DescribeDataDeletionJob": { + "input": { + "type": "structure", + "required": [ + "dataDeletionJobArn" + ], + "members": { + "dataDeletionJobArn": {} + } + }, + "output": { + "type": "structure", + "members": { + "dataDeletionJob": { + "type": "structure", + "members": { + "jobName": {}, + "dataDeletionJobArn": {}, + "datasetGroupArn": {}, + "dataSource": { + "shape": "Sy" + }, + "roleArn": {}, + "status": {}, + "numDeleted": { + "type": "integer" + }, + "creationDateTime": { + "type": "timestamp" + }, + "lastUpdatedDateTime": { + "type": "timestamp" + }, + "failureReason": {} + } + } + } + }, + "idempotent": true + }, "DescribeDataset": { "input": { "type": "structure", @@ -857,7 +928,7 @@ "roleArn": {}, "status": {}, "jobOutput": { - "shape": "S12" + "shape": "S15" }, "creationDateTime": { "type": "timestamp" @@ -927,7 +998,7 @@ "datasetImportJobArn": {}, "datasetArn": {}, "dataSource": { - "shape": "S18" + "shape": "Sy" }, "roleArn": {}, "status": {}, @@ -1045,7 +1116,7 @@ "datasetGroupArn": {}, "failureReason": {}, "filterExpression": { - "shape": "S1f" + "shape": "S1h" }, "status": {} } @@ -1074,7 +1145,7 @@ "metricAttributionArn": {}, "datasetGroupArn": {}, "metricsOutputConfig": { - "shape": "S1n" + "shape": "S1p" }, "status": {}, "creationDateTime": { @@ -1145,7 +1216,7 @@ "name": {}, "recipeArn": {}, "recommenderConfig": { - "shape": "S1q" + "shape": "S1s" }, "creationDateTime": { "type": "timestamp" @@ -1159,7 +1230,7 @@ "type": "structure", "members": { "recommenderConfig": { - "shape": "S1q" + "shape": "S1s" }, "creationDateTime": { "type": "timestamp" @@ -1172,7 +1243,7 @@ } }, "modelMetrics": { - "shape": "S4z" + "shape": "S55" } } } @@ -1243,7 +1314,7 @@ "datasetGroupArn": {}, "eventType": {}, "solutionConfig": { - "shape": "S21" + "shape": "S23" }, "autoMLResult": { "type": "structure", @@ -1259,7 +1330,7 @@ "type": "timestamp" }, "latestSolutionVersion": { - "shape": "S59" + "shape": "S5f" } } } @@ -1296,7 +1367,7 @@ "eventType": {}, "datasetGroupArn": {}, "solutionConfig": { - "shape": "S21" + "shape": "S23" }, "trainingHours": { "type": "double" @@ -1340,7 +1411,7 @@ "members": { "solutionVersionArn": {}, "metrics": { - "shape": "S4z" + "shape": "S55" } } } @@ -1459,6 +1530,44 @@ }, "idempotent": true }, + "ListDataDeletionJobs": { + "input": { + "type": "structure", + "members": { + "datasetGroupArn": {}, + "nextToken": {}, + "maxResults": { + "type": "integer" + } + } + }, + "output": { + "type": "structure", + "members": { + "dataDeletionJobs": { + "type": "list", + "member": { + "type": "structure", + "members": { + "dataDeletionJobArn": {}, + "datasetGroupArn": {}, + "jobName": {}, + "status": {}, + "creationDateTime": { + "type": "timestamp" + }, + "lastUpdatedDateTime": { + "type": "timestamp" + }, + "failureReason": {} + } + } + }, + "nextToken": {} + } + }, + "idempotent": true + }, "ListDatasetExportJobs": { "input": { "type": "structure", @@ -1697,7 +1806,7 @@ "type": "structure", "members": { "metrics": { - "shape": "S1i" + "shape": "S1k" }, "nextToken": {} } @@ -1803,7 +1912,7 @@ "datasetGroupArn": {}, "recipeArn": {}, "recommenderConfig": { - "shape": "S1q" + "shape": "S1s" }, "status": {}, "creationDateTime": { @@ -1872,7 +1981,7 @@ "solutionVersions": { "type": "list", "member": { - "shape": "S59" + "shape": "S5f" } }, "nextToken": {} @@ -2073,14 +2182,14 @@ "type": "structure", "members": { "addMetrics": { - "shape": "S1i" + "shape": "S1k" }, "removeMetrics": { "type": "list", "member": {} }, "metricsOutputConfig": { - "shape": "S1n" + "shape": "S1p" }, "metricAttributionArn": {} } @@ -2102,7 +2211,7 @@ "members": { "recommenderArn": {}, "recommenderConfig": { - "shape": "S1q" + "shape": "S1s" } } }, @@ -2228,7 +2337,13 @@ } } }, - "S12": { + "Sy": { + "type": "structure", + "members": { + "dataLocation": {} + } + }, + "S15": { "type": "structure", "required": [ "s3DataDestination" @@ -2239,17 +2354,11 @@ } } }, - "S18": { - "type": "structure", - "members": { - "dataLocation": {} - } - }, - "S1f": { + "S1h": { "type": "string", "sensitive": true }, - "S1i": { + "S1k": { "type": "list", "member": { "type": "structure", @@ -2265,7 +2374,7 @@ } } }, - "S1n": { + "S1p": { "type": "structure", "required": [ "roleArn" @@ -2277,7 +2386,7 @@ "roleArn": {} } }, - "S1q": { + "S1s": { "type": "structure", "members": { "itemExplorationConfig": { @@ -2287,14 +2396,14 @@ "type": "integer" }, "trainingDataConfig": { - "shape": "S1r" + "shape": "S1t" }, "enableMetadataWithRecommendations": { "type": "boolean" } } }, - "S1r": { + "S1t": { "type": "structure", "members": { "excludedDatasetColumns": { @@ -2307,7 +2416,7 @@ } } }, - "S21": { + "S23": { "type": "structure", "members": { "eventValueThreshold": {}, @@ -2369,7 +2478,7 @@ "members": { "name": {}, "values": { - "shape": "S2k" + "shape": "S2m" } } } @@ -2404,7 +2513,7 @@ } }, "trainingDataConfig": { - "shape": "S1r" + "shape": "S1t" }, "autoTrainingConfig": { "type": "structure", @@ -2414,18 +2523,18 @@ } } }, - "S2k": { + "S2m": { "type": "list", "member": {} }, - "S4z": { + "S55": { "type": "map", "key": {}, "value": { "type": "double" } }, - "S59": { + "S5f": { "type": "structure", "members": { "solutionVersionArn": {}, diff --git a/apis/personalize-2018-05-22.normal.json b/apis/personalize-2018-05-22.normal.json index 17f2f676f7..20175a4782 100644 --- a/apis/personalize-2018-05-22.normal.json +++ b/apis/personalize-2018-05-22.normal.json @@ -5,6 +5,9 @@ "endpointPrefix": "personalize", "jsonVersion": "1.1", "protocol": "json", + "protocols": [ + "json" + ], "serviceFullName": "Amazon Personalize", "serviceId": "Personalize", "signatureVersion": "v4", @@ -116,6 +119,40 @@ "documentation": "You incur campaign costs while it is active. To avoid unnecessary costs, make sure to delete the campaign when you are finished. For information about campaign costs, see Amazon Personalize pricing.
Creates a campaign that deploys a solution version. When a client calls the GetRecommendations and GetPersonalizedRanking APIs, a campaign is specified in the request.
Minimum Provisioned TPS and Auto-Scaling
A high minProvisionedTPS
will increase your cost. We recommend starting with 1 for minProvisionedTPS
(the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS
as necessary.
When you create an Amazon Personalize campaign, you can specify the minimum provisioned transactions per second (minProvisionedTPS
) for the campaign. This is the baseline transaction throughput for the campaign provisioned by Amazon Personalize. It sets the minimum billing charge for the campaign while it is active. A transaction is a single GetRecommendations
or GetPersonalizedRanking
request. The default minProvisionedTPS
is 1.
If your TPS increases beyond the minProvisionedTPS
, Amazon Personalize auto-scales the provisioned capacity up and down, but never below minProvisionedTPS
. There's a short time delay while the capacity is increased that might cause loss of transactions. When your traffic reduces, capacity returns to the minProvisionedTPS
.
You are charged for the the minimum provisioned TPS or, if your requests exceed the minProvisionedTPS
, the actual TPS. The actual TPS is the total number of recommendation requests you make. We recommend starting with a low minProvisionedTPS
, track your usage using Amazon CloudWatch metrics, and then increase the minProvisionedTPS
as necessary.
For more information about campaign costs, see Amazon Personalize pricing.
Status
A campaign can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
To get the campaign status, call DescribeCampaign.
Wait until the status
of the campaign is ACTIVE
before asking the campaign for recommendations.
Related APIs
", "idempotent": true }, + "CreateDataDeletionJob": { + "name": "CreateDataDeletionJob", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "CreateDataDeletionJobRequest" + }, + "output": { + "shape": "CreateDataDeletionJobResponse" + }, + "errors": [ + { + "shape": "InvalidInputException" + }, + { + "shape": "ResourceNotFoundException" + }, + { + "shape": "ResourceAlreadyExistsException" + }, + { + "shape": "LimitExceededException" + }, + { + "shape": "ResourceInUseException" + }, + { + "shape": "TooManyTagsException" + } + ], + "documentation": "Creates a batch job that deletes all references to specific users from an Amazon Personalize dataset group in batches. You specify the users to delete in a CSV file of userIds in an Amazon S3 bucket. After a job completes, Amazon Personalize no longer trains on the users’ data and no longer considers the users when generating user segments. For more information about creating a data deletion job, see Deleting users.
Your input file must be a CSV file with a single USER_ID column that lists the users IDs. For more information about preparing the CSV file, see Preparing your data deletion file and uploading it to Amazon S3.
To give Amazon Personalize permission to access your input CSV file of userIds, you must specify an IAM service role that has permission to read from the data source. This role needs GetObject
and ListBucket
permissions for the bucket and its content. These permissions are the same as importing data. For information on granting access to your Amazon S3 bucket, see Giving Amazon Personalize Access to Amazon S3 Resources.
After you create a job, it can take up to a day to delete all references to the users from datasets and models. Until the job completes, Amazon Personalize continues to use the data when training. And if you use a User Segmentation recipe, the users might appear in user segments.
Status
A data deletion job can have one of the following statuses:
PENDING > IN_PROGRESS > COMPLETED -or- FAILED
To get the status of the data deletion job, call DescribeDataDeletionJob API operation and specify the Amazon Resource Name (ARN) of the job. If the status is FAILED, the response includes a failureReason
key, which describes why the job failed.
Related APIs
" + }, "CreateDataset": { "name": "CreateDataset", "http": { @@ -772,6 +809,29 @@ "documentation": "Describes the given campaign, including its status.
A campaign can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DELETE PENDING > DELETE IN_PROGRESS
When the status
is CREATE FAILED
, the response includes the failureReason
key, which describes why.
For more information on campaigns, see CreateCampaign.
", "idempotent": true }, + "DescribeDataDeletionJob": { + "name": "DescribeDataDeletionJob", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "DescribeDataDeletionJobRequest" + }, + "output": { + "shape": "DescribeDataDeletionJobResponse" + }, + "errors": [ + { + "shape": "InvalidInputException" + }, + { + "shape": "ResourceNotFoundException" + } + ], + "documentation": "Describes the data deletion job created by CreateDataDeletionJob, including the job status.
", + "idempotent": true + }, "DescribeDataset": { "name": "DescribeDataset", "http": { @@ -1164,6 +1224,29 @@ "documentation": "Returns a list of campaigns that use the given solution. When a solution is not specified, all the campaigns associated with the account are listed. The response provides the properties for each campaign, including the Amazon Resource Name (ARN). For more information on campaigns, see CreateCampaign.
", "idempotent": true }, + "ListDataDeletionJobs": { + "name": "ListDataDeletionJobs", + "http": { + "method": "POST", + "requestUri": "/" + }, + "input": { + "shape": "ListDataDeletionJobsRequest" + }, + "output": { + "shape": "ListDataDeletionJobsResponse" + }, + "errors": [ + { + "shape": "InvalidInputException" + }, + { + "shape": "InvalidNextTokenException" + } + ], + "documentation": "Returns a list of data deletion jobs for a dataset group ordered by creation time, with the most recent first. When a dataset group is not specified, all the data deletion jobs associated with the account are listed. The response provides the properties for each job, including the Amazon Resource Name (ARN). For more information on data deletion jobs, see Deleting users.
", + "idempotent": true + }, "ListDatasetExportJobs": { "name": "ListDatasetExportJobs", "http": { @@ -2485,6 +2568,46 @@ } } }, + "CreateDataDeletionJobRequest": { + "type": "structure", + "required": [ + "jobName", + "datasetGroupArn", + "dataSource", + "roleArn" + ], + "members": { + "jobName": { + "shape": "Name", + "documentation": "The name for the data deletion job.
" + }, + "datasetGroupArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the dataset group that has the datasets you want to delete records from.
" + }, + "dataSource": { + "shape": "DataSource", + "documentation": "The Amazon S3 bucket that contains the list of userIds of the users to delete.
" + }, + "roleArn": { + "shape": "RoleArn", + "documentation": "The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.
" + }, + "tags": { + "shape": "Tags", + "documentation": "A list of tags to apply to the data deletion job.
" + } + } + }, + "CreateDataDeletionJobResponse": { + "type": "structure", + "members": { + "dataDeletionJobArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the data deletion job.
" + } + } + }, "CreateDatasetExportJobRequest": { "type": "structure", "required": [ @@ -2919,15 +3042,101 @@ } } }, + "DataDeletionJob": { + "type": "structure", + "members": { + "jobName": { + "shape": "Name", + "documentation": "The name of the data deletion job.
" + }, + "dataDeletionJobArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the data deletion job.
" + }, + "datasetGroupArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the dataset group the job deletes records from.
" + }, + "dataSource": { + "shape": "DataSource" + }, + "roleArn": { + "shape": "RoleArn", + "documentation": "The Amazon Resource Name (ARN) of the IAM role that has permissions to read from the Amazon S3 data source.
" + }, + "status": { + "shape": "Status", + "documentation": "The status of the data deletion job.
A data deletion job can have one of the following statuses:
PENDING > IN_PROGRESS > COMPLETED -or- FAILED
The number of records deleted by a COMPLETED job.
" + }, + "creationDateTime": { + "shape": "Date", + "documentation": "The creation date and time (in Unix time) of the data deletion job.
" + }, + "lastUpdatedDateTime": { + "shape": "Date", + "documentation": "The date and time (in Unix time) the data deletion job was last updated.
" + }, + "failureReason": { + "shape": "FailureReason", + "documentation": "If a data deletion job fails, provides the reason why.
" + } + }, + "documentation": "Describes a job that deletes all references to specific users from an Amazon Personalize dataset group in batches. For information about creating a data deletion job, see Deleting users.
" + }, + "DataDeletionJobSummary": { + "type": "structure", + "members": { + "dataDeletionJobArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the data deletion job.
" + }, + "datasetGroupArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the dataset group the job deleted records from.
" + }, + "jobName": { + "shape": "Name", + "documentation": "The name of the data deletion job.
" + }, + "status": { + "shape": "Status", + "documentation": "The status of the data deletion job.
A data deletion job can have one of the following statuses:
PENDING > IN_PROGRESS > COMPLETED -or- FAILED
The creation date and time (in Unix time) of the data deletion job.
" + }, + "lastUpdatedDateTime": { + "shape": "Date", + "documentation": "The date and time (in Unix time) the data deletion job was last updated.
" + }, + "failureReason": { + "shape": "FailureReason", + "documentation": "If a data deletion job fails, provides the reason why.
" + } + }, + "documentation": "Provides a summary of the properties of a data deletion job. For a complete listing, call the DescribeDataDeletionJob API operation.
" + }, + "DataDeletionJobs": { + "type": "list", + "member": { + "shape": "DataDeletionJobSummary" + }, + "max": 100 + }, "DataSource": { "type": "structure", "members": { "dataLocation": { "shape": "S3Location", - "documentation": "The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For example:
s3://bucket-name/folder-name/
For dataset import jobs, the path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For data deletion jobs, the path to the Amazon S3 bucket that stores the list of records to delete.
For example:
s3://bucket-name/folder-name/fileName.csv
If your CSV files are in a folder in your Amazon S3 bucket and you want your import job or data deletion job to consider multiple files, you can specify the path to the folder. With a data deletion job, Amazon Personalize uses all files in the folder and any sub folder. Use the following syntax with a /
after the folder name:
s3://bucket-name/folder-name/
Describes the data source that contains the data to upload to a dataset.
" + "documentation": "Describes the data source that contains the data to upload to a dataset, or the list of records to delete from Amazon Personalize.
" }, "Dataset": { "type": "structure", @@ -3663,6 +3872,27 @@ } } }, + "DescribeDataDeletionJobRequest": { + "type": "structure", + "required": [ + "dataDeletionJobArn" + ], + "members": { + "dataDeletionJobArn": { + "shape": "Arn", + "documentation": "The Amazon Resource Name (ARN) of the data deletion job.
" + } + } + }, + "DescribeDataDeletionJobResponse": { + "type": "structure", + "members": { + "dataDeletionJob": { + "shape": "DataDeletionJob", + "documentation": "Information about the data deletion job, including the status.
The status is one of the following values:
PENDING
IN_PROGRESS
COMPLETED
FAILED
The Amazon Resource Name (ARN) of the dataset group to list data deletion jobs for.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "A token returned from the previous call to ListDataDeletionJobs
for getting the next set of jobs (if they exist).
The maximum number of data deletion jobs to return.
" + } + } + }, + "ListDataDeletionJobsResponse": { + "type": "structure", + "members": { + "dataDeletionJobs": { + "shape": "DataDeletionJobs", + "documentation": "The list of data deletion jobs.
" + }, + "nextToken": { + "shape": "NextToken", + "documentation": "A token for getting the next set of data deletion jobs (if they exist).
" + } + } + }, "ListDatasetExportJobsRequest": { "type": "structure", "members": { diff --git a/apis/redshift-serverless-2021-04-21.min.json b/apis/redshift-serverless-2021-04-21.min.json index 1c73c66734..a19bd16dcd 100644 --- a/apis/redshift-serverless-2021-04-21.min.json +++ b/apis/redshift-serverless-2021-04-21.min.json @@ -866,7 +866,13 @@ "nextToken": {}, "scheduledActions": { "type": "list", - "member": {} + "member": { + "type": "structure", + "members": { + "namespaceName": {}, + "scheduledActionName": {} + } + } } } } diff --git a/apis/redshift-serverless-2021-04-21.normal.json b/apis/redshift-serverless-2021-04-21.normal.json index 2f17cbb7d1..4aee5579f2 100644 --- a/apis/redshift-serverless-2021-04-21.normal.json +++ b/apis/redshift-serverless-2021-04-21.normal.json @@ -1652,7 +1652,7 @@ "members": { "parameterKey": { "shape": "ParameterKey", - "documentation": "The key of the parameter. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
The key of the parameter. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
An array of parameters to set for advanced control over a database. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
An array of parameters to set for advanced control over a database. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
All of the returned scheduled action objects.
" + "documentation": "All of the returned scheduled action association objects.
" } } }, @@ -3599,6 +3599,20 @@ "documentation": "The schedule of when Amazon Redshift Serverless should run the scheduled action.
", "union": true }, + "ScheduledActionAssociation": { + "type": "structure", + "members": { + "namespaceName": { + "shape": "NamespaceName", + "documentation": "Name of associated Amazon Redshift Serverless namespace.
" + }, + "scheduledActionName": { + "shape": "ScheduledActionName", + "documentation": "Name of associated scheduled action.
" + } + }, + "documentation": "Contains names of objects associated with a scheduled action.
" + }, "ScheduledActionName": { "type": "string", "max": 60, @@ -3657,7 +3671,7 @@ "ScheduledActionsList": { "type": "list", "member": { - "shape": "ScheduledActionName" + "shape": "ScheduledActionAssociation" } }, "SecurityGroupId": { @@ -4287,7 +4301,7 @@ }, "configParameters": { "shape": "ConfigParameterList", - "documentation": "An array of parameters to set for advanced control over a database. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
An array of parameters to set for advanced control over a database. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
An array of parameters to set for advanced control over a database. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
An array of parameters to set for advanced control over a database. The options are auto_mv
, datestyle
, enable_case_sensitive_identifier
, enable_user_activity_logging
, query_group
, search_path
, require_ssl
, use_fips_ssl
, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see Query monitoring metrics for Amazon Redshift Serverless.
A value that specifies whether the workgroup can be accessible from a public network
" + "documentation": "A value that specifies whether the workgroup can be accessible from a public network.
" }, "securityGroupIds": { "shape": "SecurityGroupIdList", diff --git a/clients/dynamodb.d.ts b/clients/dynamodb.d.ts index 170bd7c110..c11da3a16a 100644 --- a/clients/dynamodb.d.ts +++ b/clients/dynamodb.d.ts @@ -247,11 +247,11 @@ declare class DynamoDB extends DynamoDBCustomizations { */ getItem(callback?: (err: AWSError, data: DynamoDB.Types.GetItemOutput) => void): Request>1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a >1,l=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=a?0:s-1,y=a?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(n=isNaN(t)?1:0,o=m):(o=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-o))<1&&(o--,u*=2),t+=o+c>=1?l/u:l*Math.pow(2,1-c),t*u>=2&&(o++,u/=2),o+c>=m?(n=0,o=m):o+c>=1?(n=(t*u-1)*Math.pow(2,i),o+=c):(n=t*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;e[r+d]=255&n,d+=y,n/=256,i-=8);for(o=o<0;e[r+d]=255&o,d+=y,o/=256,p-=8);e[r+d-y]|=128*b}},{}],443:[function(e,t,r){var a={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==a.call(e)}},{}],444:[function(e,t,r){!function(e){"use strict";function t(e){return null!==e&&"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,i){if(e===i)return!0;if(Object.prototype.toString.call(e)!==Object.prototype.toString.call(i))return!1;if(!0===t(e)){if(e.length!==i.length)return!1;for(var s=0;s G((f-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,u=0;u =0?(c=b.substr(0,S),l=b.substr(S+1)):(c=b,l=""),d=decodeURIComponent(c),y=decodeURIComponent(l),a(o,d)?i(o[d])?o[d].push(y):o[d]=[o[d],y]:o[d]=y}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],448:[function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l=0&&delete e.httpRequest.headers["Content-Length"]}function i(e){var t=new l,r=e.service.api.operations[e.operation].input;if(r.payload){var a={},i=r.members[r.payload];a=e.params[r.payload],"structure"===i.type?(e.httpRequest.body=t.build(a||{},i),s(e)):void 0!==a&&(e.httpRequest.body=a,("binary"===i.type||i.isStreaming)&&s(e,!0))}else e.httpRequest.body=t.build(e.params,r),s(e)}function s(e,t){if(!e.httpRequest.headers["Content-Type"]){var r=t?"binary/octet-stream":"application/json";e.httpRequest.headers["Content-Type"]=r}}function o(e){m.buildRequest(e),y.indexOf(e.httpRequest.method)<0&&i(e)}function n(e){c.extractError(e)}function u(e){m.extractData(e);var t,r=e.request,a=r.service.api.operations[r.operation],i=r.service.api.operations[r.operation].output||{};a.hasEventOutput;if(i.payload){var s=i.members[i.payload],o=e.httpResponse.body;if(s.isEventStream)t=new d,e.data[payload]=p.createEventStream(2===AWS.HttpClient.streamsApiVersion?e.httpResponse.stream:o,t,s);else if("structure"===s.type||"list"===s.type){var t=new d;e.data[i.payload]=t.parse(o,s)}else"binary"===s.type||s.isStreaming?e.data[i.payload]=o:e.data[i.payload]=s.toType(o)}else{var n=e.data;c.extractData(e),e.data=p.merge(n,e.data)}}var p=e("../util"),m=e("./rest"),c=e("./json"),l=e("../json/builder"),d=e("../json/parser"),y=["GET","HEAD","DELETE"];t.exports={buildRequest:o,extractError:n,extractData:u,unsetContentLength:a}},{"../json/builder":374,"../json/parser":375,"../util":428,"./json":386,"./rest":388}],390:[function(e,t,r){function a(e){var t=e.service.api.operations[e.operation].input,r=new n.XML.Builder,a=e.params,i=t.payload;if(i){var s=t.members[i];if(void 0===(a=a[i]))return;if("structure"===s.type){var o=s.name;e.httpRequest.body=r.toXML(a,s,o,!0)}else e.httpRequest.body=a}else e.httpRequest.body=r.toXML(a,t,t.name||t.shape||u.string.upperFirst(e.operation)+"Request")}function i(e){p.buildRequest(e),["GET","HEAD"].indexOf(e.httpRequest.method)<0&&a(e)}function s(e){p.extractError(e);var t;try{t=(new n.XML.Parser).parse(e.httpResponse.body.toString())}catch(r){t={Code:e.httpResponse.statusCode,Message:e.httpResponse.statusMessage}}t.Errors&&(t=t.Errors),t.Error&&(t=t.Error),t.Code?e.error=u.error(new Error,{code:t.Code,message:t.Message}):e.error=u.error(new Error,{code:e.httpResponse.statusCode,message:null})}function o(e){p.extractData(e);var t,r=e.request,a=e.httpResponse.body,i=r.service.api.operations[r.operation],s=i.output,o=(i.hasEventOutput,s.payload);if(o){var m=s.members[o];m.isEventStream?(t=new n.XML.Parser,e.data[o]=u.createEventStream(2===n.HttpClient.streamsApiVersion?e.httpResponse.stream:e.httpResponse.body,t,m)):"structure"===m.type?(t=new n.XML.Parser,e.data[o]=t.parse(a.toString(),m)):"binary"===m.type||m.isStreaming?e.data[o]=a:e.data[o]=m.toType(a)}else if(a.length>0){t=new n.XML.Parser;var c=t.parse(a.toString(),s);u.update(e.data,c)}}var n=e("../core"),u=e("../util"),p=e("./rest");t.exports={buildRequest:i,extractError:s,extractData:o}},{"../core":350,"../util":428,"./rest":388}],391:[function(e,t,r){function a(){}function i(e){return e.isQueryName||"ec2"!==e.api.protocol?e.name:e.name[0].toUpperCase()+e.name.substr(1)}function s(e,t,r,a){p.each(r.members,function(r,s){var o=t[r];if(null!==o&&void 0!==o){var n=i(s);n=e?e+"."+n:n,u(n,o,s,a)}})}function o(e,t,r,a){var i=1;p.each(t,function(t,s){var o=r.flattened?".":".entry.",n=o+i+++".",p=n+(r.key.name||"key"),m=n+(r.value.name||"value");u(e+p,t,r.key,a),u(e+m,s,r.value,a)})}function n(e,t,r,a){var s=r.member||{};if(0===t.length)return void a.call(this,e,null);p.arrayEach(t,function(t,o){var n="."+(o+1);if("ec2"===r.api.protocol)n+="";else if(r.flattened){if(s.name){var p=e.split(".");p.pop(),p.push(i(s)),e=p.join(".")}}else n="."+(s.name?s.name:"member")+n;u(e+n,t,s,a)})}function u(e,t,r,a){null!==t&&void 0!==t&&("structure"===r.type?s(e,t,r,a):"list"===r.type?n(e,t,r,a):"map"===r.type?o(e,t,r,a):a(e,r.toWireFormat(t).toString()))}var p=e("../util");a.prototype.serialize=function(e,t,r){s("",e,t,r)},t.exports=a},{"../util":428}],392:[function(e,t,r){var a=e("../core"),i=null,s={signatureVersion:"v4",signingName:"rds-db",operations:{}},o={region:"string",hostname:"string",port:"number",username:"string"};a.RDS.Signer=a.util.inherit({constructor:function(e){this.options=e||{}},convertUrlToAuthToken:function(e){if(0===e.indexOf("https://"))return e.substring("https://".length)},getAuthToken:function(e,t){"function"==typeof e&&void 0===t&&(t=e,e={});var r=this,o="function"==typeof t;e=a.util.merge(this.options,e);var n=this.validateAuthTokenOptions(e);if(!0!==n){if(o)return t(n,null);throw n}var u={region:e.region,endpoint:new a.Endpoint(e.hostname+":"+e.port),paramValidation:!1,signatureVersion:"v4"};e.credentials&&(u.credentials=e.credentials),i=new a.Service(u),i.api=s;var p=i.makeRequest();if(this.modifyRequestForAuthToken(p,e),!o){var m=p.presign(900);return this.convertUrlToAuthToken(m)}p.presign(900,function(e,a){a&&(a=r.convertUrlToAuthToken(a)),t(e,a)})},
+modifyRequestForAuthToken:function(e,t){e.on("build",e.buildAsGet),e.httpRequest.body=a.util.queryParamsToString({Action:"connect",DBUser:t.username})},validateAuthTokenOptions:function(e){var t="";e=e||{};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&typeof e[r]!==o[r]&&(t+="option '"+r+"' should have been type '"+o[r]+"', was '"+typeof e[r]+"'.\n");return!t.length||a.util.error(new Error,{code:"InvalidParameter",message:t})}})},{"../core":350}],393:[function(e,t,r){t.exports={now:function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now():Date.now()}}},{}],394:[function(e,t,r){function a(e){return"string"==typeof e&&(e.startsWith("fips-")||e.endsWith("-fips"))}function i(e){return"string"==typeof e&&["aws-global","aws-us-gov-global"].includes(e)}function s(e){return["fips-aws-global","aws-fips","aws-global"].includes(e)?"us-east-1":["fips-aws-us-gov-global","aws-us-gov-global"].includes(e)?"us-gov-west-1":e.replace(/fips-(dkr-|prod-)?|-fips/,"")}t.exports={isFipsRegion:a,isGlobalRegion:i,getRealRegion:s}},{}],395:[function(e,t,r){function a(e){if(!e)return null;var t=e.split("-");return t.length<3?null:t.slice(0,t.length-2).join("-")+"-*"}function i(e){var t=e.config.region,r=a(t),i=e.api.endpointPrefix;return[[t,i],[r,i],[t,"*"],[r,"*"],["*",i],[t,"internal-*"],["*","*"]].map(function(e){return e[0]&&e[1]?e.join("/"):null})}function s(e,t){u.each(t,function(t,r){"globalEndpoint"!==t&&(void 0!==e.config[t]&&null!==e.config[t]||(e.config[t]=r))})}function o(e){for(var t=i(e),r=e.config.useFipsEndpoint,a=e.config.useDualstackEndpoint,o=0;o=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function b(e){return+e!=e&&(e=0),s.alloc(+e)}function S(e,t){if(s.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var a=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return H(e).length;default:if(a)return K(e).length;t=(""+t).toLowerCase(),a=!0}}function g(e,t,r){var a=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if(r>>>=0,t>>>=0,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return E(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return q(this,t,r);case"base64":return D(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,t,r);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}function h(e,t,r){var a=e[t];e[t]=e[r],e[r]=a}function I(e,t,r,a,i){if(0===e.length)return-1;if("string"==typeof r?(a=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=s.from(t,a)),s.isBuffer(t))return 0===t.length?-1:N(e,t,r,a,i);if("number"==typeof t)return t&=255,s.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):N(e,[t],r,a,i);throw new TypeError("val must be string, number or Buffer")}function N(e,t,r,a,i){function s(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}var o=1,n=e.length,u=t.length;if(void 0!==a&&("ucs2"===(a=String(a).toLowerCase())||"ucs-2"===a||"utf16le"===a||"utf-16le"===a)){if(e.length<2||t.length<2)return-1;o=2,n/=2,u/=2,r/=2}var p;if(i){var m=-1;for(p=r;p>>8*(a?i:1-i)}function B(e,t,r,a){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i>>8*(a?i:3-i)&255}function U(e,t,r,a,i,s){if(r+a>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _(e,t,r,a,i){return i||U(e,t,r,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(e,t,r,a,23,4),r+4}function F(e,t,r,a,i){return i||U(e,t,r,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(e,t,r,a,52,8),r+8}function O(e){if(e=V(e).replace(ee,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function K(e,t){t=t||1/0;for(var r,a=e.length,i=null,s=[],o=0;o55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(o+1===a){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function j(e){for(var t=[],r=0;r=55296&&t<=56319&&i65535&&(e-=65536,t+=w(e>>>10&1023|55296),e=56320|1023&e),t+=w(e)}).join("")}function p(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:T}function m(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function c(e,t,r){var a=0;for(e=r?G(e/R):e>>1,e+=G(e/t);e>L*k>>1;a+=T)e=G(e/L);return G(a+(L+1)*e/(e+A))}function l(e){var t,r,a,s,o,n,m,l,d,y,b=[],S=e.length,g=0,h=v,I=D;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a=S&&i("invalid-input"),l=p(e.charCodeAt(s++)),(l>=T||l>G((f-g)/n))&&i("overflow"),g+=l*n,d=m<=I?C:m>=I+k?k:m-I,!(l=t&&bf&&i("overflow"),b==t){for(l=r,d=T;y=d<=o?C:d>=o+k?k:d-o,!(l