@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
|
@@ -1,98 +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 { RemoveFromGlobalClusterMessage, RemoveFromGlobalClusterResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryRemoveFromGlobalClusterCommand,
|
|
18
|
-
serializeAws_queryRemoveFromGlobalClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface RemoveFromGlobalClusterCommandInput extends RemoveFromGlobalClusterMessage {}
|
|
22
|
-
export interface RemoveFromGlobalClusterCommandOutput extends RemoveFromGlobalClusterResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Detaches an Amazon DocumentDB secondary cluster from a global cluster. The cluster becomes a standalone cluster with read-write capability instead of being read-only and receiving data from a primary in a different region. </p>
|
|
26
|
-
* <note>
|
|
27
|
-
* <p>This action only applies to Amazon DocumentDB clusters.</p>
|
|
28
|
-
* </note>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DocDBClient, RemoveFromGlobalClusterCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
33
|
-
* // const { DocDBClient, RemoveFromGlobalClusterCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
34
|
-
* const client = new DocDBClient(config);
|
|
35
|
-
* const command = new RemoveFromGlobalClusterCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link RemoveFromGlobalClusterCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link RemoveFromGlobalClusterCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class RemoveFromGlobalClusterCommand extends $Command<
|
|
45
|
-
RemoveFromGlobalClusterCommandInput,
|
|
46
|
-
RemoveFromGlobalClusterCommandOutput,
|
|
47
|
-
DocDBClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: RemoveFromGlobalClusterCommandInput) {
|
|
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<RemoveFromGlobalClusterCommandInput, RemoveFromGlobalClusterCommandOutput> {
|
|
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 = "RemoveFromGlobalClusterCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: RemoveFromGlobalClusterMessage.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: RemoveFromGlobalClusterResult.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(input: RemoveFromGlobalClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_queryRemoveFromGlobalClusterCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveFromGlobalClusterCommandOutput> {
|
|
93
|
-
return deserializeAws_queryRemoveFromGlobalClusterCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,108 +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 {
|
|
16
|
-
RemoveSourceIdentifierFromSubscriptionMessage,
|
|
17
|
-
RemoveSourceIdentifierFromSubscriptionResult,
|
|
18
|
-
} from "../models/models_0";
|
|
19
|
-
import {
|
|
20
|
-
deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand,
|
|
21
|
-
serializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand,
|
|
22
|
-
} from "../protocols/Aws_query";
|
|
23
|
-
|
|
24
|
-
export interface RemoveSourceIdentifierFromSubscriptionCommandInput
|
|
25
|
-
extends RemoveSourceIdentifierFromSubscriptionMessage {}
|
|
26
|
-
export interface RemoveSourceIdentifierFromSubscriptionCommandOutput
|
|
27
|
-
extends RemoveSourceIdentifierFromSubscriptionResult,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Removes a source identifier from an existing Amazon DocumentDB event notification
|
|
32
|
-
* subscription.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { DocDBClient, RemoveSourceIdentifierFromSubscriptionCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
37
|
-
* // const { DocDBClient, RemoveSourceIdentifierFromSubscriptionCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
38
|
-
* const client = new DocDBClient(config);
|
|
39
|
-
* const command = new RemoveSourceIdentifierFromSubscriptionCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link RemoveSourceIdentifierFromSubscriptionCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link RemoveSourceIdentifierFromSubscriptionCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class RemoveSourceIdentifierFromSubscriptionCommand extends $Command<
|
|
49
|
-
RemoveSourceIdentifierFromSubscriptionCommandInput,
|
|
50
|
-
RemoveSourceIdentifierFromSubscriptionCommandOutput,
|
|
51
|
-
DocDBClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: RemoveSourceIdentifierFromSubscriptionCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: DocDBClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<RemoveSourceIdentifierFromSubscriptionCommandInput, RemoveSourceIdentifierFromSubscriptionCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "DocDBClient";
|
|
76
|
-
const commandName = "RemoveSourceIdentifierFromSubscriptionCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: RemoveSourceIdentifierFromSubscriptionMessage.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: RemoveSourceIdentifierFromSubscriptionResult.filterSensitiveLog,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(
|
|
93
|
-
input: RemoveSourceIdentifierFromSubscriptionCommandInput,
|
|
94
|
-
context: __SerdeContext
|
|
95
|
-
): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<RemoveSourceIdentifierFromSubscriptionCommandOutput> {
|
|
103
|
-
return deserializeAws_queryRemoveSourceIdentifierFromSubscriptionCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,95 +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 { RemoveTagsFromResourceMessage } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryRemoveTagsFromResourceCommand,
|
|
18
|
-
serializeAws_queryRemoveTagsFromResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface RemoveTagsFromResourceCommandInput extends RemoveTagsFromResourceMessage {}
|
|
22
|
-
export interface RemoveTagsFromResourceCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Removes metadata tags from an Amazon DocumentDB resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, RemoveTagsFromResourceCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, RemoveTagsFromResourceCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new RemoveTagsFromResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link RemoveTagsFromResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class RemoveTagsFromResourceCommand extends $Command<
|
|
42
|
-
RemoveTagsFromResourceCommandInput,
|
|
43
|
-
RemoveTagsFromResourceCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: RemoveTagsFromResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: DocDBClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<RemoveTagsFromResourceCommandInput, RemoveTagsFromResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "DocDBClient";
|
|
69
|
-
const commandName = "RemoveTagsFromResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: RemoveTagsFromResourceMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: RemoveTagsFromResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryRemoveTagsFromResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RemoveTagsFromResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_queryRemoveTagsFromResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,107 +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 { DBClusterParameterGroupNameMessage, ResetDBClusterParameterGroupMessage } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryResetDBClusterParameterGroupCommand,
|
|
18
|
-
serializeAws_queryResetDBClusterParameterGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ResetDBClusterParameterGroupCommandInput extends ResetDBClusterParameterGroupMessage {}
|
|
22
|
-
export interface ResetDBClusterParameterGroupCommandOutput
|
|
23
|
-
extends DBClusterParameterGroupNameMessage,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p> Modifies the parameters of a cluster parameter group to the default value. To
|
|
28
|
-
* reset specific parameters, submit a list of the following: <code>ParameterName</code>
|
|
29
|
-
* and <code>ApplyMethod</code>. To reset the entire cluster parameter group, specify
|
|
30
|
-
* the <code>DBClusterParameterGroupName</code> and <code>ResetAllParameters</code>
|
|
31
|
-
* parameters. </p>
|
|
32
|
-
* <p> When you reset the entire group, dynamic parameters are updated immediately and
|
|
33
|
-
* static parameters are set to <code>pending-reboot</code> to take effect on the next DB
|
|
34
|
-
* instance reboot.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { DocDBClient, ResetDBClusterParameterGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
39
|
-
* // const { DocDBClient, ResetDBClusterParameterGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
40
|
-
* const client = new DocDBClient(config);
|
|
41
|
-
* const command = new ResetDBClusterParameterGroupCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link ResetDBClusterParameterGroupCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link ResetDBClusterParameterGroupCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
export class ResetDBClusterParameterGroupCommand extends $Command<
|
|
51
|
-
ResetDBClusterParameterGroupCommandInput,
|
|
52
|
-
ResetDBClusterParameterGroupCommandOutput,
|
|
53
|
-
DocDBClientResolvedConfig
|
|
54
|
-
> {
|
|
55
|
-
// Start section: command_properties
|
|
56
|
-
// End section: command_properties
|
|
57
|
-
|
|
58
|
-
constructor(readonly input: ResetDBClusterParameterGroupCommandInput) {
|
|
59
|
-
// Start section: command_constructor
|
|
60
|
-
super();
|
|
61
|
-
// End section: command_constructor
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
|
-
resolveMiddleware(
|
|
68
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
69
|
-
configuration: DocDBClientResolvedConfig,
|
|
70
|
-
options?: __HttpHandlerOptions
|
|
71
|
-
): Handler<ResetDBClusterParameterGroupCommandInput, ResetDBClusterParameterGroupCommandOutput> {
|
|
72
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
73
|
-
|
|
74
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
75
|
-
|
|
76
|
-
const { logger } = configuration;
|
|
77
|
-
const clientName = "DocDBClient";
|
|
78
|
-
const commandName = "ResetDBClusterParameterGroupCommand";
|
|
79
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
80
|
-
logger,
|
|
81
|
-
clientName,
|
|
82
|
-
commandName,
|
|
83
|
-
inputFilterSensitiveLog: ResetDBClusterParameterGroupMessage.filterSensitiveLog,
|
|
84
|
-
outputFilterSensitiveLog: DBClusterParameterGroupNameMessage.filterSensitiveLog,
|
|
85
|
-
};
|
|
86
|
-
const { requestHandler } = configuration;
|
|
87
|
-
return stack.resolve(
|
|
88
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
89
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
90
|
-
handlerExecutionContext
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private serialize(input: ResetDBClusterParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_queryResetDBClusterParameterGroupCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<ResetDBClusterParameterGroupCommandOutput> {
|
|
102
|
-
return deserializeAws_queryResetDBClusterParameterGroupCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,102 +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 { RestoreDBClusterFromSnapshotMessage, RestoreDBClusterFromSnapshotResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryRestoreDBClusterFromSnapshotCommand,
|
|
18
|
-
serializeAws_queryRestoreDBClusterFromSnapshotCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface RestoreDBClusterFromSnapshotCommandInput extends RestoreDBClusterFromSnapshotMessage {}
|
|
22
|
-
export interface RestoreDBClusterFromSnapshotCommandOutput
|
|
23
|
-
extends RestoreDBClusterFromSnapshotResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Creates a new cluster from a snapshot or cluster snapshot.</p>
|
|
28
|
-
* <p>If a snapshot is specified, the target cluster is created from the source DB snapshot with a default configuration and default security group.</p>
|
|
29
|
-
* <p>If a cluster snapshot is specified, the target cluster is created from the source cluster restore point with the same configuration as the original source DB cluster, except that the new cluster is created with the default security group.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { DocDBClient, RestoreDBClusterFromSnapshotCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
34
|
-
* // const { DocDBClient, RestoreDBClusterFromSnapshotCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
35
|
-
* const client = new DocDBClient(config);
|
|
36
|
-
* const command = new RestoreDBClusterFromSnapshotCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link RestoreDBClusterFromSnapshotCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link RestoreDBClusterFromSnapshotCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class RestoreDBClusterFromSnapshotCommand extends $Command<
|
|
46
|
-
RestoreDBClusterFromSnapshotCommandInput,
|
|
47
|
-
RestoreDBClusterFromSnapshotCommandOutput,
|
|
48
|
-
DocDBClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: RestoreDBClusterFromSnapshotCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: DocDBClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<RestoreDBClusterFromSnapshotCommandInput, RestoreDBClusterFromSnapshotCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "DocDBClient";
|
|
73
|
-
const commandName = "RestoreDBClusterFromSnapshotCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: RestoreDBClusterFromSnapshotMessage.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: RestoreDBClusterFromSnapshotResult.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: RestoreDBClusterFromSnapshotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_queryRestoreDBClusterFromSnapshotCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(
|
|
94
|
-
output: __HttpResponse,
|
|
95
|
-
context: __SerdeContext
|
|
96
|
-
): Promise<RestoreDBClusterFromSnapshotCommandOutput> {
|
|
97
|
-
return deserializeAws_queryRestoreDBClusterFromSnapshotCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -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 { RestoreDBClusterToPointInTimeMessage, RestoreDBClusterToPointInTimeResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryRestoreDBClusterToPointInTimeCommand,
|
|
18
|
-
serializeAws_queryRestoreDBClusterToPointInTimeCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface RestoreDBClusterToPointInTimeCommandInput extends RestoreDBClusterToPointInTimeMessage {}
|
|
22
|
-
export interface RestoreDBClusterToPointInTimeCommandOutput
|
|
23
|
-
extends RestoreDBClusterToPointInTimeResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Restores a cluster to an arbitrary point in time. Users can restore to any point in
|
|
28
|
-
* time before <code>LatestRestorableTime</code> for up to
|
|
29
|
-
* <code>BackupRetentionPeriod</code> days. The target cluster is created from the
|
|
30
|
-
* source cluster with the same configuration as the original cluster, except that
|
|
31
|
-
* the new cluster is created with the default security group. </p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { DocDBClient, RestoreDBClusterToPointInTimeCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
36
|
-
* // const { DocDBClient, RestoreDBClusterToPointInTimeCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
37
|
-
* const client = new DocDBClient(config);
|
|
38
|
-
* const command = new RestoreDBClusterToPointInTimeCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link RestoreDBClusterToPointInTimeCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link RestoreDBClusterToPointInTimeCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class RestoreDBClusterToPointInTimeCommand extends $Command<
|
|
48
|
-
RestoreDBClusterToPointInTimeCommandInput,
|
|
49
|
-
RestoreDBClusterToPointInTimeCommandOutput,
|
|
50
|
-
DocDBClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: RestoreDBClusterToPointInTimeCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: DocDBClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<RestoreDBClusterToPointInTimeCommandInput, RestoreDBClusterToPointInTimeCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "DocDBClient";
|
|
75
|
-
const commandName = "RestoreDBClusterToPointInTimeCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: RestoreDBClusterToPointInTimeMessage.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: RestoreDBClusterToPointInTimeResult.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(input: RestoreDBClusterToPointInTimeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_queryRestoreDBClusterToPointInTimeCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<RestoreDBClusterToPointInTimeCommandOutput> {
|
|
99
|
-
return deserializeAws_queryRestoreDBClusterToPointInTimeCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|