@aws-sdk/client-docdb 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/DocDB.js +0 -4
- package/dist-cjs/DocDBClient.js +0 -9
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -26
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -28
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +0 -26
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +0 -36
- package/dist-cjs/commands/CreateDBClusterCommand.js +0 -25
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +0 -43
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +0 -25
- package/dist-cjs/commands/CreateDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +0 -27
- package/dist-cjs/commands/CreateGlobalClusterCommand.js +0 -30
- package/dist-cjs/commands/DeleteDBClusterCommand.js +0 -26
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +0 -28
- package/dist-cjs/commands/DeleteDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +0 -29
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js +0 -28
- package/dist-cjs/commands/DescribeCertificatesCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -28
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClustersCommand.js +0 -30
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBInstancesCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +0 -26
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -25
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js +0 -28
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -25
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +0 -26
- package/dist-cjs/commands/FailoverDBClusterCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ModifyDBClusterCommand.js +0 -27
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +0 -43
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -26
- package/dist-cjs/commands/ModifyDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js +0 -28
- package/dist-cjs/commands/RebootDBInstanceCommand.js +0 -31
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +0 -28
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -26
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -25
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +0 -32
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +0 -27
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +0 -29
- package/dist-cjs/commands/StartDBClusterCommand.js +0 -27
- package/dist-cjs/commands/StopDBClusterCommand.js +0 -28
- package/dist-cjs/commands/index.js +56 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -71
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -571
- package/dist-cjs/pagination/DescribeCertificatesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +17 -0
- package/dist-cjs/protocols/Aws_query.js +0 -3
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js +0 -10
- package/dist-es/DocDB.js +0 -1
- package/dist-es/DocDBClient.js +0 -1
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +0 -1
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDBInstanceCommand.js +0 -1
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/CreateEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/CreateGlobalClusterCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteDBInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/DeleteGlobalClusterCommand.js +0 -1
- package/dist-es/commands/DescribeCertificatesCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClustersCommand.js +0 -1
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +0 -1
- package/dist-es/commands/DescribeDBInstancesCommand.js +0 -1
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -1
- package/dist-es/commands/DescribeEventCategoriesCommand.js +0 -1
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +0 -1
- package/dist-es/commands/DescribeEventsCommand.js +0 -1
- package/dist-es/commands/DescribeGlobalClustersCommand.js +0 -1
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -1
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +0 -1
- package/dist-es/commands/FailoverDBClusterCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -1
- package/dist-es/commands/ModifyDBInstanceCommand.js +0 -1
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/ModifyGlobalClusterCommand.js +0 -1
- package/dist-es/commands/RebootDBInstanceCommand.js +0 -1
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +0 -1
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +0 -1
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +0 -1
- package/dist-es/commands/StartDBClusterCommand.js +0 -1
- package/dist-es/commands/StopDBClusterCommand.js +0 -1
- package/dist-es/commands/index.js +53 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -71
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeCertificatesPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClustersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js +0 -1
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +0 -1
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -1
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +14 -0
- package/dist-es/protocols/Aws_query.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForDBInstanceAvailable.js +0 -1
- package/dist-types/commands/index.d.ts +53 -0
- package/dist-types/index.d.ts +5 -70
- package/dist-types/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/DocDB.d.ts +54 -286
- package/dist-types/ts3.4/DocDBClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/index.d.ts +53 -0
- package/dist-types/ts3.4/index.d.ts +5 -70
- package/dist-types/ts3.4/models/models_0.d.ts +845 -3657
- package/dist-types/ts3.4/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForDBInstanceAvailable.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +35 -32
- package/dist-cjs/DocDB.js.map +0 -1
- package/dist-cjs/DocDBClient.js.map +0 -1
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCertificatesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
- package/dist-cjs/commands/FailoverDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RebootDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
- package/dist-cjs/commands/StartDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/StopDBClusterCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeCertificatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_query.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js.map +0 -1
- package/dist-es/DocDB.js.map +0 -1
- package/dist-es/DocDBClient.js.map +0 -1
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/CreateDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/CreateGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DeleteGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/DescribeCertificatesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBInstancesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventCategoriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-es/commands/DescribeGlobalClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
- package/dist-es/commands/FailoverDBClusterCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/ModifyGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/RebootDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
- package/dist-es/commands/StartDBClusterCommand.js.map +0 -1
- package/dist-es/commands/StopDBClusterCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeCertificatesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClustersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBInstancesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_query.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForDBInstanceAvailable.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/DocDB.ts +0 -2097
- package/src/DocDBClient.ts +0 -515
- package/src/commands/AddSourceIdentifierToSubscriptionCommand.ts +0 -104
- package/src/commands/AddTagsToResourceCommand.ts +0 -98
- package/src/commands/ApplyPendingMaintenanceActionCommand.ts +0 -101
- package/src/commands/CopyDBClusterParameterGroupCommand.ts +0 -98
- package/src/commands/CopyDBClusterSnapshotCommand.ts +0 -108
- package/src/commands/CreateDBClusterCommand.ts +0 -95
- package/src/commands/CreateDBClusterParameterGroupCommand.ts +0 -118
- package/src/commands/CreateDBClusterSnapshotCommand.ts +0 -95
- package/src/commands/CreateDBInstanceCommand.ts +0 -95
- package/src/commands/CreateDBSubnetGroupCommand.ts +0 -96
- package/src/commands/CreateEventSubscriptionCommand.ts +0 -97
- package/src/commands/CreateGlobalClusterCommand.ts +0 -100
- package/src/commands/DeleteDBClusterCommand.ts +0 -96
- package/src/commands/DeleteDBClusterParameterGroupCommand.ts +0 -98
- package/src/commands/DeleteDBClusterSnapshotCommand.ts +0 -98
- package/src/commands/DeleteDBInstanceCommand.ts +0 -95
- package/src/commands/DeleteDBSubnetGroupCommand.ts +0 -99
- package/src/commands/DeleteEventSubscriptionCommand.ts +0 -95
- package/src/commands/DeleteGlobalClusterCommand.ts +0 -98
- package/src/commands/DescribeCertificatesCommand.ts +0 -95
- package/src/commands/DescribeDBClusterParameterGroupsCommand.ts +0 -103
- package/src/commands/DescribeDBClusterParametersCommand.ts +0 -99
- package/src/commands/DescribeDBClusterSnapshotAttributesCommand.ts +0 -109
- package/src/commands/DescribeDBClusterSnapshotsCommand.ts +0 -98
- package/src/commands/DescribeDBClustersCommand.ts +0 -100
- package/src/commands/DescribeDBEngineVersionsCommand.ts +0 -95
- package/src/commands/DescribeDBInstancesCommand.ts +0 -95
- package/src/commands/DescribeDBSubnetGroupsCommand.ts +0 -96
- package/src/commands/DescribeEngineDefaultClusterParametersCommand.ts +0 -108
- package/src/commands/DescribeEventCategoriesCommand.ts +0 -96
- package/src/commands/DescribeEventSubscriptionsCommand.ts +0 -99
- package/src/commands/DescribeEventsCommand.ts +0 -95
- package/src/commands/DescribeGlobalClustersCommand.ts +0 -98
- package/src/commands/DescribeOrderableDBInstanceOptionsCommand.ts +0 -103
- package/src/commands/DescribePendingMaintenanceActionsCommand.ts +0 -104
- package/src/commands/FailoverDBClusterCommand.ts +0 -97
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ModifyDBClusterCommand.ts +0 -97
- package/src/commands/ModifyDBClusterParameterGroupCommand.ts +0 -118
- package/src/commands/ModifyDBClusterSnapshotAttributeCommand.ts +0 -104
- package/src/commands/ModifyDBInstanceCommand.ts +0 -95
- package/src/commands/ModifyDBSubnetGroupCommand.ts +0 -95
- package/src/commands/ModifyEventSubscriptionCommand.ts +0 -95
- package/src/commands/ModifyGlobalClusterCommand.ts +0 -98
- package/src/commands/RebootDBInstanceCommand.ts +0 -101
- package/src/commands/RemoveFromGlobalClusterCommand.ts +0 -98
- package/src/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +0 -108
- package/src/commands/RemoveTagsFromResourceCommand.ts +0 -95
- package/src/commands/ResetDBClusterParameterGroupCommand.ts +0 -107
- package/src/commands/RestoreDBClusterFromSnapshotCommand.ts +0 -102
- package/src/commands/RestoreDBClusterToPointInTimeCommand.ts +0 -104
- package/src/commands/StartDBClusterCommand.ts +0 -97
- package/src/commands/StopDBClusterCommand.ts +0 -98
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -71
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6422
- package/src/pagination/DescribeCertificatesPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterParameterGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterParametersPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterSnapshotsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClustersPaginator.ts +0 -59
- package/src/pagination/DescribeDBEngineVersionsPaginator.ts +0 -59
- package/src/pagination/DescribeDBInstancesPaginator.ts +0 -59
- package/src/pagination/DescribeDBSubnetGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeEventSubscriptionsPaginator.ts +0 -59
- package/src/pagination/DescribeEventsPaginator.ts +0 -59
- package/src/pagination/DescribeGlobalClustersPaginator.ts +0 -59
- package/src/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +0 -59
- package/src/pagination/DescribePendingMaintenanceActionsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -10761
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForDBInstanceAvailable.ts +0 -125
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
package/src/DocDBClient.ts
DELETED
|
@@ -1,515 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
|
-
RegionInputConfig,
|
|
5
|
-
RegionResolvedConfig,
|
|
6
|
-
resolveEndpointsConfig,
|
|
7
|
-
resolveRegionConfig,
|
|
8
|
-
} from "@aws-sdk/config-resolver";
|
|
9
|
-
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
10
|
-
import {
|
|
11
|
-
getHostHeaderPlugin,
|
|
12
|
-
HostHeaderInputConfig,
|
|
13
|
-
HostHeaderResolvedConfig,
|
|
14
|
-
resolveHostHeaderConfig,
|
|
15
|
-
} from "@aws-sdk/middleware-host-header";
|
|
16
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
17
|
-
import { getRetryPlugin, resolveRetryConfig, RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
18
|
-
import {
|
|
19
|
-
AwsAuthInputConfig,
|
|
20
|
-
AwsAuthResolvedConfig,
|
|
21
|
-
getAwsAuthPlugin,
|
|
22
|
-
resolveAwsAuthConfig,
|
|
23
|
-
} from "@aws-sdk/middleware-signing";
|
|
24
|
-
import {
|
|
25
|
-
getUserAgentPlugin,
|
|
26
|
-
resolveUserAgentConfig,
|
|
27
|
-
UserAgentInputConfig,
|
|
28
|
-
UserAgentResolvedConfig,
|
|
29
|
-
} from "@aws-sdk/middleware-user-agent";
|
|
30
|
-
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
31
|
-
import {
|
|
32
|
-
Client as __Client,
|
|
33
|
-
SmithyConfiguration as __SmithyConfiguration,
|
|
34
|
-
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
35
|
-
} from "@aws-sdk/smithy-client";
|
|
36
|
-
import {
|
|
37
|
-
Credentials as __Credentials,
|
|
38
|
-
Decoder as __Decoder,
|
|
39
|
-
Encoder as __Encoder,
|
|
40
|
-
Hash as __Hash,
|
|
41
|
-
HashConstructor as __HashConstructor,
|
|
42
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
43
|
-
Logger as __Logger,
|
|
44
|
-
Provider as __Provider,
|
|
45
|
-
Provider,
|
|
46
|
-
RegionInfoProvider,
|
|
47
|
-
StreamCollector as __StreamCollector,
|
|
48
|
-
UrlParser as __UrlParser,
|
|
49
|
-
UserAgent as __UserAgent,
|
|
50
|
-
} from "@aws-sdk/types";
|
|
51
|
-
|
|
52
|
-
import {
|
|
53
|
-
AddSourceIdentifierToSubscriptionCommandInput,
|
|
54
|
-
AddSourceIdentifierToSubscriptionCommandOutput,
|
|
55
|
-
} from "./commands/AddSourceIdentifierToSubscriptionCommand";
|
|
56
|
-
import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand";
|
|
57
|
-
import {
|
|
58
|
-
ApplyPendingMaintenanceActionCommandInput,
|
|
59
|
-
ApplyPendingMaintenanceActionCommandOutput,
|
|
60
|
-
} from "./commands/ApplyPendingMaintenanceActionCommand";
|
|
61
|
-
import {
|
|
62
|
-
CopyDBClusterParameterGroupCommandInput,
|
|
63
|
-
CopyDBClusterParameterGroupCommandOutput,
|
|
64
|
-
} from "./commands/CopyDBClusterParameterGroupCommand";
|
|
65
|
-
import {
|
|
66
|
-
CopyDBClusterSnapshotCommandInput,
|
|
67
|
-
CopyDBClusterSnapshotCommandOutput,
|
|
68
|
-
} from "./commands/CopyDBClusterSnapshotCommand";
|
|
69
|
-
import { CreateDBClusterCommandInput, CreateDBClusterCommandOutput } from "./commands/CreateDBClusterCommand";
|
|
70
|
-
import {
|
|
71
|
-
CreateDBClusterParameterGroupCommandInput,
|
|
72
|
-
CreateDBClusterParameterGroupCommandOutput,
|
|
73
|
-
} from "./commands/CreateDBClusterParameterGroupCommand";
|
|
74
|
-
import {
|
|
75
|
-
CreateDBClusterSnapshotCommandInput,
|
|
76
|
-
CreateDBClusterSnapshotCommandOutput,
|
|
77
|
-
} from "./commands/CreateDBClusterSnapshotCommand";
|
|
78
|
-
import { CreateDBInstanceCommandInput, CreateDBInstanceCommandOutput } from "./commands/CreateDBInstanceCommand";
|
|
79
|
-
import {
|
|
80
|
-
CreateDBSubnetGroupCommandInput,
|
|
81
|
-
CreateDBSubnetGroupCommandOutput,
|
|
82
|
-
} from "./commands/CreateDBSubnetGroupCommand";
|
|
83
|
-
import {
|
|
84
|
-
CreateEventSubscriptionCommandInput,
|
|
85
|
-
CreateEventSubscriptionCommandOutput,
|
|
86
|
-
} from "./commands/CreateEventSubscriptionCommand";
|
|
87
|
-
import {
|
|
88
|
-
CreateGlobalClusterCommandInput,
|
|
89
|
-
CreateGlobalClusterCommandOutput,
|
|
90
|
-
} from "./commands/CreateGlobalClusterCommand";
|
|
91
|
-
import { DeleteDBClusterCommandInput, DeleteDBClusterCommandOutput } from "./commands/DeleteDBClusterCommand";
|
|
92
|
-
import {
|
|
93
|
-
DeleteDBClusterParameterGroupCommandInput,
|
|
94
|
-
DeleteDBClusterParameterGroupCommandOutput,
|
|
95
|
-
} from "./commands/DeleteDBClusterParameterGroupCommand";
|
|
96
|
-
import {
|
|
97
|
-
DeleteDBClusterSnapshotCommandInput,
|
|
98
|
-
DeleteDBClusterSnapshotCommandOutput,
|
|
99
|
-
} from "./commands/DeleteDBClusterSnapshotCommand";
|
|
100
|
-
import { DeleteDBInstanceCommandInput, DeleteDBInstanceCommandOutput } from "./commands/DeleteDBInstanceCommand";
|
|
101
|
-
import {
|
|
102
|
-
DeleteDBSubnetGroupCommandInput,
|
|
103
|
-
DeleteDBSubnetGroupCommandOutput,
|
|
104
|
-
} from "./commands/DeleteDBSubnetGroupCommand";
|
|
105
|
-
import {
|
|
106
|
-
DeleteEventSubscriptionCommandInput,
|
|
107
|
-
DeleteEventSubscriptionCommandOutput,
|
|
108
|
-
} from "./commands/DeleteEventSubscriptionCommand";
|
|
109
|
-
import {
|
|
110
|
-
DeleteGlobalClusterCommandInput,
|
|
111
|
-
DeleteGlobalClusterCommandOutput,
|
|
112
|
-
} from "./commands/DeleteGlobalClusterCommand";
|
|
113
|
-
import {
|
|
114
|
-
DescribeCertificatesCommandInput,
|
|
115
|
-
DescribeCertificatesCommandOutput,
|
|
116
|
-
} from "./commands/DescribeCertificatesCommand";
|
|
117
|
-
import {
|
|
118
|
-
DescribeDBClusterParameterGroupsCommandInput,
|
|
119
|
-
DescribeDBClusterParameterGroupsCommandOutput,
|
|
120
|
-
} from "./commands/DescribeDBClusterParameterGroupsCommand";
|
|
121
|
-
import {
|
|
122
|
-
DescribeDBClusterParametersCommandInput,
|
|
123
|
-
DescribeDBClusterParametersCommandOutput,
|
|
124
|
-
} from "./commands/DescribeDBClusterParametersCommand";
|
|
125
|
-
import { DescribeDBClustersCommandInput, DescribeDBClustersCommandOutput } from "./commands/DescribeDBClustersCommand";
|
|
126
|
-
import {
|
|
127
|
-
DescribeDBClusterSnapshotAttributesCommandInput,
|
|
128
|
-
DescribeDBClusterSnapshotAttributesCommandOutput,
|
|
129
|
-
} from "./commands/DescribeDBClusterSnapshotAttributesCommand";
|
|
130
|
-
import {
|
|
131
|
-
DescribeDBClusterSnapshotsCommandInput,
|
|
132
|
-
DescribeDBClusterSnapshotsCommandOutput,
|
|
133
|
-
} from "./commands/DescribeDBClusterSnapshotsCommand";
|
|
134
|
-
import {
|
|
135
|
-
DescribeDBEngineVersionsCommandInput,
|
|
136
|
-
DescribeDBEngineVersionsCommandOutput,
|
|
137
|
-
} from "./commands/DescribeDBEngineVersionsCommand";
|
|
138
|
-
import {
|
|
139
|
-
DescribeDBInstancesCommandInput,
|
|
140
|
-
DescribeDBInstancesCommandOutput,
|
|
141
|
-
} from "./commands/DescribeDBInstancesCommand";
|
|
142
|
-
import {
|
|
143
|
-
DescribeDBSubnetGroupsCommandInput,
|
|
144
|
-
DescribeDBSubnetGroupsCommandOutput,
|
|
145
|
-
} from "./commands/DescribeDBSubnetGroupsCommand";
|
|
146
|
-
import {
|
|
147
|
-
DescribeEngineDefaultClusterParametersCommandInput,
|
|
148
|
-
DescribeEngineDefaultClusterParametersCommandOutput,
|
|
149
|
-
} from "./commands/DescribeEngineDefaultClusterParametersCommand";
|
|
150
|
-
import {
|
|
151
|
-
DescribeEventCategoriesCommandInput,
|
|
152
|
-
DescribeEventCategoriesCommandOutput,
|
|
153
|
-
} from "./commands/DescribeEventCategoriesCommand";
|
|
154
|
-
import { DescribeEventsCommandInput, DescribeEventsCommandOutput } from "./commands/DescribeEventsCommand";
|
|
155
|
-
import {
|
|
156
|
-
DescribeEventSubscriptionsCommandInput,
|
|
157
|
-
DescribeEventSubscriptionsCommandOutput,
|
|
158
|
-
} from "./commands/DescribeEventSubscriptionsCommand";
|
|
159
|
-
import {
|
|
160
|
-
DescribeGlobalClustersCommandInput,
|
|
161
|
-
DescribeGlobalClustersCommandOutput,
|
|
162
|
-
} from "./commands/DescribeGlobalClustersCommand";
|
|
163
|
-
import {
|
|
164
|
-
DescribeOrderableDBInstanceOptionsCommandInput,
|
|
165
|
-
DescribeOrderableDBInstanceOptionsCommandOutput,
|
|
166
|
-
} from "./commands/DescribeOrderableDBInstanceOptionsCommand";
|
|
167
|
-
import {
|
|
168
|
-
DescribePendingMaintenanceActionsCommandInput,
|
|
169
|
-
DescribePendingMaintenanceActionsCommandOutput,
|
|
170
|
-
} from "./commands/DescribePendingMaintenanceActionsCommand";
|
|
171
|
-
import { FailoverDBClusterCommandInput, FailoverDBClusterCommandOutput } from "./commands/FailoverDBClusterCommand";
|
|
172
|
-
import {
|
|
173
|
-
ListTagsForResourceCommandInput,
|
|
174
|
-
ListTagsForResourceCommandOutput,
|
|
175
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
176
|
-
import { ModifyDBClusterCommandInput, ModifyDBClusterCommandOutput } from "./commands/ModifyDBClusterCommand";
|
|
177
|
-
import {
|
|
178
|
-
ModifyDBClusterParameterGroupCommandInput,
|
|
179
|
-
ModifyDBClusterParameterGroupCommandOutput,
|
|
180
|
-
} from "./commands/ModifyDBClusterParameterGroupCommand";
|
|
181
|
-
import {
|
|
182
|
-
ModifyDBClusterSnapshotAttributeCommandInput,
|
|
183
|
-
ModifyDBClusterSnapshotAttributeCommandOutput,
|
|
184
|
-
} from "./commands/ModifyDBClusterSnapshotAttributeCommand";
|
|
185
|
-
import { ModifyDBInstanceCommandInput, ModifyDBInstanceCommandOutput } from "./commands/ModifyDBInstanceCommand";
|
|
186
|
-
import {
|
|
187
|
-
ModifyDBSubnetGroupCommandInput,
|
|
188
|
-
ModifyDBSubnetGroupCommandOutput,
|
|
189
|
-
} from "./commands/ModifyDBSubnetGroupCommand";
|
|
190
|
-
import {
|
|
191
|
-
ModifyEventSubscriptionCommandInput,
|
|
192
|
-
ModifyEventSubscriptionCommandOutput,
|
|
193
|
-
} from "./commands/ModifyEventSubscriptionCommand";
|
|
194
|
-
import {
|
|
195
|
-
ModifyGlobalClusterCommandInput,
|
|
196
|
-
ModifyGlobalClusterCommandOutput,
|
|
197
|
-
} from "./commands/ModifyGlobalClusterCommand";
|
|
198
|
-
import { RebootDBInstanceCommandInput, RebootDBInstanceCommandOutput } from "./commands/RebootDBInstanceCommand";
|
|
199
|
-
import {
|
|
200
|
-
RemoveFromGlobalClusterCommandInput,
|
|
201
|
-
RemoveFromGlobalClusterCommandOutput,
|
|
202
|
-
} from "./commands/RemoveFromGlobalClusterCommand";
|
|
203
|
-
import {
|
|
204
|
-
RemoveSourceIdentifierFromSubscriptionCommandInput,
|
|
205
|
-
RemoveSourceIdentifierFromSubscriptionCommandOutput,
|
|
206
|
-
} from "./commands/RemoveSourceIdentifierFromSubscriptionCommand";
|
|
207
|
-
import {
|
|
208
|
-
RemoveTagsFromResourceCommandInput,
|
|
209
|
-
RemoveTagsFromResourceCommandOutput,
|
|
210
|
-
} from "./commands/RemoveTagsFromResourceCommand";
|
|
211
|
-
import {
|
|
212
|
-
ResetDBClusterParameterGroupCommandInput,
|
|
213
|
-
ResetDBClusterParameterGroupCommandOutput,
|
|
214
|
-
} from "./commands/ResetDBClusterParameterGroupCommand";
|
|
215
|
-
import {
|
|
216
|
-
RestoreDBClusterFromSnapshotCommandInput,
|
|
217
|
-
RestoreDBClusterFromSnapshotCommandOutput,
|
|
218
|
-
} from "./commands/RestoreDBClusterFromSnapshotCommand";
|
|
219
|
-
import {
|
|
220
|
-
RestoreDBClusterToPointInTimeCommandInput,
|
|
221
|
-
RestoreDBClusterToPointInTimeCommandOutput,
|
|
222
|
-
} from "./commands/RestoreDBClusterToPointInTimeCommand";
|
|
223
|
-
import { StartDBClusterCommandInput, StartDBClusterCommandOutput } from "./commands/StartDBClusterCommand";
|
|
224
|
-
import { StopDBClusterCommandInput, StopDBClusterCommandOutput } from "./commands/StopDBClusterCommand";
|
|
225
|
-
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
226
|
-
|
|
227
|
-
export type ServiceInputTypes =
|
|
228
|
-
| AddSourceIdentifierToSubscriptionCommandInput
|
|
229
|
-
| AddTagsToResourceCommandInput
|
|
230
|
-
| ApplyPendingMaintenanceActionCommandInput
|
|
231
|
-
| CopyDBClusterParameterGroupCommandInput
|
|
232
|
-
| CopyDBClusterSnapshotCommandInput
|
|
233
|
-
| CreateDBClusterCommandInput
|
|
234
|
-
| CreateDBClusterParameterGroupCommandInput
|
|
235
|
-
| CreateDBClusterSnapshotCommandInput
|
|
236
|
-
| CreateDBInstanceCommandInput
|
|
237
|
-
| CreateDBSubnetGroupCommandInput
|
|
238
|
-
| CreateEventSubscriptionCommandInput
|
|
239
|
-
| CreateGlobalClusterCommandInput
|
|
240
|
-
| DeleteDBClusterCommandInput
|
|
241
|
-
| DeleteDBClusterParameterGroupCommandInput
|
|
242
|
-
| DeleteDBClusterSnapshotCommandInput
|
|
243
|
-
| DeleteDBInstanceCommandInput
|
|
244
|
-
| DeleteDBSubnetGroupCommandInput
|
|
245
|
-
| DeleteEventSubscriptionCommandInput
|
|
246
|
-
| DeleteGlobalClusterCommandInput
|
|
247
|
-
| DescribeCertificatesCommandInput
|
|
248
|
-
| DescribeDBClusterParameterGroupsCommandInput
|
|
249
|
-
| DescribeDBClusterParametersCommandInput
|
|
250
|
-
| DescribeDBClusterSnapshotAttributesCommandInput
|
|
251
|
-
| DescribeDBClusterSnapshotsCommandInput
|
|
252
|
-
| DescribeDBClustersCommandInput
|
|
253
|
-
| DescribeDBEngineVersionsCommandInput
|
|
254
|
-
| DescribeDBInstancesCommandInput
|
|
255
|
-
| DescribeDBSubnetGroupsCommandInput
|
|
256
|
-
| DescribeEngineDefaultClusterParametersCommandInput
|
|
257
|
-
| DescribeEventCategoriesCommandInput
|
|
258
|
-
| DescribeEventSubscriptionsCommandInput
|
|
259
|
-
| DescribeEventsCommandInput
|
|
260
|
-
| DescribeGlobalClustersCommandInput
|
|
261
|
-
| DescribeOrderableDBInstanceOptionsCommandInput
|
|
262
|
-
| DescribePendingMaintenanceActionsCommandInput
|
|
263
|
-
| FailoverDBClusterCommandInput
|
|
264
|
-
| ListTagsForResourceCommandInput
|
|
265
|
-
| ModifyDBClusterCommandInput
|
|
266
|
-
| ModifyDBClusterParameterGroupCommandInput
|
|
267
|
-
| ModifyDBClusterSnapshotAttributeCommandInput
|
|
268
|
-
| ModifyDBInstanceCommandInput
|
|
269
|
-
| ModifyDBSubnetGroupCommandInput
|
|
270
|
-
| ModifyEventSubscriptionCommandInput
|
|
271
|
-
| ModifyGlobalClusterCommandInput
|
|
272
|
-
| RebootDBInstanceCommandInput
|
|
273
|
-
| RemoveFromGlobalClusterCommandInput
|
|
274
|
-
| RemoveSourceIdentifierFromSubscriptionCommandInput
|
|
275
|
-
| RemoveTagsFromResourceCommandInput
|
|
276
|
-
| ResetDBClusterParameterGroupCommandInput
|
|
277
|
-
| RestoreDBClusterFromSnapshotCommandInput
|
|
278
|
-
| RestoreDBClusterToPointInTimeCommandInput
|
|
279
|
-
| StartDBClusterCommandInput
|
|
280
|
-
| StopDBClusterCommandInput;
|
|
281
|
-
|
|
282
|
-
export type ServiceOutputTypes =
|
|
283
|
-
| AddSourceIdentifierToSubscriptionCommandOutput
|
|
284
|
-
| AddTagsToResourceCommandOutput
|
|
285
|
-
| ApplyPendingMaintenanceActionCommandOutput
|
|
286
|
-
| CopyDBClusterParameterGroupCommandOutput
|
|
287
|
-
| CopyDBClusterSnapshotCommandOutput
|
|
288
|
-
| CreateDBClusterCommandOutput
|
|
289
|
-
| CreateDBClusterParameterGroupCommandOutput
|
|
290
|
-
| CreateDBClusterSnapshotCommandOutput
|
|
291
|
-
| CreateDBInstanceCommandOutput
|
|
292
|
-
| CreateDBSubnetGroupCommandOutput
|
|
293
|
-
| CreateEventSubscriptionCommandOutput
|
|
294
|
-
| CreateGlobalClusterCommandOutput
|
|
295
|
-
| DeleteDBClusterCommandOutput
|
|
296
|
-
| DeleteDBClusterParameterGroupCommandOutput
|
|
297
|
-
| DeleteDBClusterSnapshotCommandOutput
|
|
298
|
-
| DeleteDBInstanceCommandOutput
|
|
299
|
-
| DeleteDBSubnetGroupCommandOutput
|
|
300
|
-
| DeleteEventSubscriptionCommandOutput
|
|
301
|
-
| DeleteGlobalClusterCommandOutput
|
|
302
|
-
| DescribeCertificatesCommandOutput
|
|
303
|
-
| DescribeDBClusterParameterGroupsCommandOutput
|
|
304
|
-
| DescribeDBClusterParametersCommandOutput
|
|
305
|
-
| DescribeDBClusterSnapshotAttributesCommandOutput
|
|
306
|
-
| DescribeDBClusterSnapshotsCommandOutput
|
|
307
|
-
| DescribeDBClustersCommandOutput
|
|
308
|
-
| DescribeDBEngineVersionsCommandOutput
|
|
309
|
-
| DescribeDBInstancesCommandOutput
|
|
310
|
-
| DescribeDBSubnetGroupsCommandOutput
|
|
311
|
-
| DescribeEngineDefaultClusterParametersCommandOutput
|
|
312
|
-
| DescribeEventCategoriesCommandOutput
|
|
313
|
-
| DescribeEventSubscriptionsCommandOutput
|
|
314
|
-
| DescribeEventsCommandOutput
|
|
315
|
-
| DescribeGlobalClustersCommandOutput
|
|
316
|
-
| DescribeOrderableDBInstanceOptionsCommandOutput
|
|
317
|
-
| DescribePendingMaintenanceActionsCommandOutput
|
|
318
|
-
| FailoverDBClusterCommandOutput
|
|
319
|
-
| ListTagsForResourceCommandOutput
|
|
320
|
-
| ModifyDBClusterCommandOutput
|
|
321
|
-
| ModifyDBClusterParameterGroupCommandOutput
|
|
322
|
-
| ModifyDBClusterSnapshotAttributeCommandOutput
|
|
323
|
-
| ModifyDBInstanceCommandOutput
|
|
324
|
-
| ModifyDBSubnetGroupCommandOutput
|
|
325
|
-
| ModifyEventSubscriptionCommandOutput
|
|
326
|
-
| ModifyGlobalClusterCommandOutput
|
|
327
|
-
| RebootDBInstanceCommandOutput
|
|
328
|
-
| RemoveFromGlobalClusterCommandOutput
|
|
329
|
-
| RemoveSourceIdentifierFromSubscriptionCommandOutput
|
|
330
|
-
| RemoveTagsFromResourceCommandOutput
|
|
331
|
-
| ResetDBClusterParameterGroupCommandOutput
|
|
332
|
-
| RestoreDBClusterFromSnapshotCommandOutput
|
|
333
|
-
| RestoreDBClusterToPointInTimeCommandOutput
|
|
334
|
-
| StartDBClusterCommandOutput
|
|
335
|
-
| StopDBClusterCommandOutput;
|
|
336
|
-
|
|
337
|
-
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
338
|
-
/**
|
|
339
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
340
|
-
*/
|
|
341
|
-
requestHandler?: __HttpHandler;
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
345
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
346
|
-
* @internal
|
|
347
|
-
*/
|
|
348
|
-
sha256?: __HashConstructor;
|
|
349
|
-
|
|
350
|
-
/**
|
|
351
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
352
|
-
* @internal
|
|
353
|
-
*/
|
|
354
|
-
urlParser?: __UrlParser;
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* A function that can calculate the length of a request body.
|
|
358
|
-
* @internal
|
|
359
|
-
*/
|
|
360
|
-
bodyLengthChecker?: (body: any) => number | undefined;
|
|
361
|
-
|
|
362
|
-
/**
|
|
363
|
-
* A function that converts a stream into an array of bytes.
|
|
364
|
-
* @internal
|
|
365
|
-
*/
|
|
366
|
-
streamCollector?: __StreamCollector;
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
370
|
-
* @internal
|
|
371
|
-
*/
|
|
372
|
-
base64Decoder?: __Decoder;
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
376
|
-
* @internal
|
|
377
|
-
*/
|
|
378
|
-
base64Encoder?: __Encoder;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
382
|
-
* @internal
|
|
383
|
-
*/
|
|
384
|
-
utf8Decoder?: __Decoder;
|
|
385
|
-
|
|
386
|
-
/**
|
|
387
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
388
|
-
* @internal
|
|
389
|
-
*/
|
|
390
|
-
utf8Encoder?: __Encoder;
|
|
391
|
-
|
|
392
|
-
/**
|
|
393
|
-
* The runtime environment.
|
|
394
|
-
* @internal
|
|
395
|
-
*/
|
|
396
|
-
runtime?: string;
|
|
397
|
-
|
|
398
|
-
/**
|
|
399
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
400
|
-
* trait of an operation.
|
|
401
|
-
*/
|
|
402
|
-
disableHostPrefix?: boolean;
|
|
403
|
-
|
|
404
|
-
/**
|
|
405
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
406
|
-
*/
|
|
407
|
-
maxAttempts?: number | __Provider<number>;
|
|
408
|
-
|
|
409
|
-
/**
|
|
410
|
-
* Specifies which retry algorithm to use.
|
|
411
|
-
*/
|
|
412
|
-
retryMode?: string | __Provider<string>;
|
|
413
|
-
|
|
414
|
-
/**
|
|
415
|
-
* Optional logger for logging debug/info/warn/error.
|
|
416
|
-
*/
|
|
417
|
-
logger?: __Logger;
|
|
418
|
-
|
|
419
|
-
/**
|
|
420
|
-
* Unique service identifier.
|
|
421
|
-
* @internal
|
|
422
|
-
*/
|
|
423
|
-
serviceId?: string;
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* The AWS region to which this client will send requests
|
|
427
|
-
*/
|
|
428
|
-
region?: string | __Provider<string>;
|
|
429
|
-
|
|
430
|
-
/**
|
|
431
|
-
* Default credentials provider; Not available in browser runtime.
|
|
432
|
-
* @internal
|
|
433
|
-
*/
|
|
434
|
-
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
438
|
-
* @internal
|
|
439
|
-
*/
|
|
440
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
444
|
-
* @internal
|
|
445
|
-
*/
|
|
446
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
type DocDBClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
|
|
450
|
-
ClientDefaults &
|
|
451
|
-
RegionInputConfig &
|
|
452
|
-
EndpointsInputConfig &
|
|
453
|
-
RetryInputConfig &
|
|
454
|
-
HostHeaderInputConfig &
|
|
455
|
-
AwsAuthInputConfig &
|
|
456
|
-
UserAgentInputConfig;
|
|
457
|
-
/**
|
|
458
|
-
* The configuration interface of DocDBClient class constructor that set the region, credentials and other options.
|
|
459
|
-
*/
|
|
460
|
-
export interface DocDBClientConfig extends DocDBClientConfigType {}
|
|
461
|
-
|
|
462
|
-
type DocDBClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
463
|
-
Required<ClientDefaults> &
|
|
464
|
-
RegionResolvedConfig &
|
|
465
|
-
EndpointsResolvedConfig &
|
|
466
|
-
RetryResolvedConfig &
|
|
467
|
-
HostHeaderResolvedConfig &
|
|
468
|
-
AwsAuthResolvedConfig &
|
|
469
|
-
UserAgentResolvedConfig;
|
|
470
|
-
/**
|
|
471
|
-
* The resolved configuration interface of DocDBClient class. This is resolved and normalized from the {@link DocDBClientConfig | constructor configuration interface}.
|
|
472
|
-
*/
|
|
473
|
-
export interface DocDBClientResolvedConfig extends DocDBClientResolvedConfigType {}
|
|
474
|
-
|
|
475
|
-
/**
|
|
476
|
-
* <p>Amazon DocumentDB API documentation</p>
|
|
477
|
-
*/
|
|
478
|
-
export class DocDBClient extends __Client<
|
|
479
|
-
__HttpHandlerOptions,
|
|
480
|
-
ServiceInputTypes,
|
|
481
|
-
ServiceOutputTypes,
|
|
482
|
-
DocDBClientResolvedConfig
|
|
483
|
-
> {
|
|
484
|
-
/**
|
|
485
|
-
* The resolved configuration of DocDBClient class. This is resolved and normalized from the {@link DocDBClientConfig | constructor configuration interface}.
|
|
486
|
-
*/
|
|
487
|
-
readonly config: DocDBClientResolvedConfig;
|
|
488
|
-
|
|
489
|
-
constructor(configuration: DocDBClientConfig) {
|
|
490
|
-
const _config_0 = __getRuntimeConfig(configuration);
|
|
491
|
-
const _config_1 = resolveRegionConfig(_config_0);
|
|
492
|
-
const _config_2 = resolveEndpointsConfig(_config_1);
|
|
493
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
494
|
-
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
495
|
-
const _config_5 = resolveAwsAuthConfig(_config_4);
|
|
496
|
-
const _config_6 = resolveUserAgentConfig(_config_5);
|
|
497
|
-
super(_config_6);
|
|
498
|
-
this.config = _config_6;
|
|
499
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
500
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
501
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
502
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
503
|
-
this.middlewareStack.use(getAwsAuthPlugin(this.config));
|
|
504
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
509
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
510
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
511
|
-
*/
|
|
512
|
-
destroy(): void {
|
|
513
|
-
super.destroy();
|
|
514
|
-
}
|
|
515
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DocDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBClient";
|
|
15
|
-
import { AddSourceIdentifierToSubscriptionMessage, AddSourceIdentifierToSubscriptionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryAddSourceIdentifierToSubscriptionCommand,
|
|
18
|
-
serializeAws_queryAddSourceIdentifierToSubscriptionCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface AddSourceIdentifierToSubscriptionCommandInput extends AddSourceIdentifierToSubscriptionMessage {}
|
|
22
|
-
export interface AddSourceIdentifierToSubscriptionCommandOutput
|
|
23
|
-
extends AddSourceIdentifierToSubscriptionResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Adds a source identifier to an existing event notification
|
|
28
|
-
* subscription.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DocDBClient, AddSourceIdentifierToSubscriptionCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
33
|
-
* // const { DocDBClient, AddSourceIdentifierToSubscriptionCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
34
|
-
* const client = new DocDBClient(config);
|
|
35
|
-
* const command = new AddSourceIdentifierToSubscriptionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link AddSourceIdentifierToSubscriptionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link AddSourceIdentifierToSubscriptionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class AddSourceIdentifierToSubscriptionCommand extends $Command<
|
|
45
|
-
AddSourceIdentifierToSubscriptionCommandInput,
|
|
46
|
-
AddSourceIdentifierToSubscriptionCommandOutput,
|
|
47
|
-
DocDBClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: AddSourceIdentifierToSubscriptionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: DocDBClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<AddSourceIdentifierToSubscriptionCommandInput, AddSourceIdentifierToSubscriptionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "DocDBClient";
|
|
72
|
-
const commandName = "AddSourceIdentifierToSubscriptionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: AddSourceIdentifierToSubscriptionMessage.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: AddSourceIdentifierToSubscriptionResult.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: AddSourceIdentifierToSubscriptionCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_queryAddSourceIdentifierToSubscriptionCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<AddSourceIdentifierToSubscriptionCommandOutput> {
|
|
99
|
-
return deserializeAws_queryAddSourceIdentifierToSubscriptionCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|