@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,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 { CreateDBClusterSnapshotMessage, CreateDBClusterSnapshotResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateDBClusterSnapshotCommand,
|
|
18
|
-
serializeAws_queryCreateDBClusterSnapshotCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateDBClusterSnapshotCommandInput extends CreateDBClusterSnapshotMessage {}
|
|
22
|
-
export interface CreateDBClusterSnapshotCommandOutput extends CreateDBClusterSnapshotResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a snapshot of a cluster. </p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, CreateDBClusterSnapshotCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, CreateDBClusterSnapshotCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new CreateDBClusterSnapshotCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateDBClusterSnapshotCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateDBClusterSnapshotCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateDBClusterSnapshotCommand extends $Command<
|
|
42
|
-
CreateDBClusterSnapshotCommandInput,
|
|
43
|
-
CreateDBClusterSnapshotCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateDBClusterSnapshotCommandInput) {
|
|
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<CreateDBClusterSnapshotCommandInput, CreateDBClusterSnapshotCommandOutput> {
|
|
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 = "CreateDBClusterSnapshotCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateDBClusterSnapshotMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateDBClusterSnapshotResult.filterSensitiveLog,
|
|
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: CreateDBClusterSnapshotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryCreateDBClusterSnapshotCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDBClusterSnapshotCommandOutput> {
|
|
90
|
-
return deserializeAws_queryCreateDBClusterSnapshotCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { CreateDBInstanceMessage, CreateDBInstanceResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateDBInstanceCommand,
|
|
18
|
-
serializeAws_queryCreateDBInstanceCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateDBInstanceCommandInput extends CreateDBInstanceMessage {}
|
|
22
|
-
export interface CreateDBInstanceCommandOutput extends CreateDBInstanceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new instance.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, CreateDBInstanceCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, CreateDBInstanceCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new CreateDBInstanceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateDBInstanceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateDBInstanceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateDBInstanceCommand extends $Command<
|
|
42
|
-
CreateDBInstanceCommandInput,
|
|
43
|
-
CreateDBInstanceCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateDBInstanceCommandInput) {
|
|
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<CreateDBInstanceCommandInput, CreateDBInstanceCommandOutput> {
|
|
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 = "CreateDBInstanceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateDBInstanceMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateDBInstanceResult.filterSensitiveLog,
|
|
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: CreateDBInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryCreateDBInstanceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDBInstanceCommandOutput> {
|
|
90
|
-
return deserializeAws_queryCreateDBInstanceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +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 { CreateDBSubnetGroupMessage, CreateDBSubnetGroupResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateDBSubnetGroupCommand,
|
|
18
|
-
serializeAws_queryCreateDBSubnetGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateDBSubnetGroupCommandInput extends CreateDBSubnetGroupMessage {}
|
|
22
|
-
export interface CreateDBSubnetGroupCommandOutput extends CreateDBSubnetGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new subnet group. subnet groups must contain at least one subnet in at
|
|
26
|
-
* least two Availability Zones in the Region.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { DocDBClient, CreateDBSubnetGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
31
|
-
* // const { DocDBClient, CreateDBSubnetGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
32
|
-
* const client = new DocDBClient(config);
|
|
33
|
-
* const command = new CreateDBSubnetGroupCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link CreateDBSubnetGroupCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link CreateDBSubnetGroupCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class CreateDBSubnetGroupCommand extends $Command<
|
|
43
|
-
CreateDBSubnetGroupCommandInput,
|
|
44
|
-
CreateDBSubnetGroupCommandOutput,
|
|
45
|
-
DocDBClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: CreateDBSubnetGroupCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: DocDBClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<CreateDBSubnetGroupCommandInput, CreateDBSubnetGroupCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "DocDBClient";
|
|
70
|
-
const commandName = "CreateDBSubnetGroupCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: CreateDBSubnetGroupMessage.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: CreateDBSubnetGroupResult.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: CreateDBSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_queryCreateDBSubnetGroupCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDBSubnetGroupCommandOutput> {
|
|
91
|
-
return deserializeAws_queryCreateDBSubnetGroupCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,97 +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 { CreateEventSubscriptionMessage, CreateEventSubscriptionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateEventSubscriptionCommand,
|
|
18
|
-
serializeAws_queryCreateEventSubscriptionCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateEventSubscriptionCommandInput extends CreateEventSubscriptionMessage {}
|
|
22
|
-
export interface CreateEventSubscriptionCommandOutput extends CreateEventSubscriptionResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Amazon DocumentDB event notification subscription. This action requires a topic Amazon Resource Name (ARN) created by using the Amazon DocumentDB console, the Amazon SNS console, or the Amazon SNS API. To obtain an ARN with Amazon SNS, you must create a topic in Amazon SNS and subscribe to the topic. The ARN is displayed in the Amazon SNS console.</p>
|
|
26
|
-
* <p>You can specify the type of source (<code>SourceType</code>) that you want to be notified of. You can also provide a list of Amazon DocumentDB sources (<code>SourceIds</code>) that trigger the events, and you can provide a list of event categories (<code>EventCategories</code>) for events that you want to be notified of. For example, you can specify <code>SourceType = db-instance</code>, <code>SourceIds = mydbinstance1, mydbinstance2</code> and <code>EventCategories = Availability, Backup</code>.</p>
|
|
27
|
-
* <p>If you specify both the <code>SourceType</code> and <code>SourceIds</code> (such as <code>SourceType = db-instance</code> and <code>SourceIdentifier = myDBInstance1</code>), you are notified of all the <code>db-instance</code> events for the specified source. If you specify a <code>SourceType</code> but do not specify a <code>SourceIdentifier</code>, you receive notice of the events for that source type for all your Amazon DocumentDB sources. If you do not specify either the <code>SourceType</code> or the <code>SourceIdentifier</code>, you are notified of events generated from all Amazon DocumentDB sources belonging to your customer account.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { DocDBClient, CreateEventSubscriptionCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
32
|
-
* // const { DocDBClient, CreateEventSubscriptionCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
33
|
-
* const client = new DocDBClient(config);
|
|
34
|
-
* const command = new CreateEventSubscriptionCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateEventSubscriptionCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateEventSubscriptionCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateEventSubscriptionCommand extends $Command<
|
|
44
|
-
CreateEventSubscriptionCommandInput,
|
|
45
|
-
CreateEventSubscriptionCommandOutput,
|
|
46
|
-
DocDBClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateEventSubscriptionCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: DocDBClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<CreateEventSubscriptionCommandInput, CreateEventSubscriptionCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "DocDBClient";
|
|
71
|
-
const commandName = "CreateEventSubscriptionCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateEventSubscriptionMessage.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateEventSubscriptionResult.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: CreateEventSubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_queryCreateEventSubscriptionCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEventSubscriptionCommandOutput> {
|
|
92
|
-
return deserializeAws_queryCreateEventSubscriptionCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,100 +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 { CreateGlobalClusterMessage, CreateGlobalClusterResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateGlobalClusterCommand,
|
|
18
|
-
serializeAws_queryCreateGlobalClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateGlobalClusterCommandInput extends CreateGlobalClusterMessage {}
|
|
22
|
-
export interface CreateGlobalClusterCommandOutput extends CreateGlobalClusterResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an Amazon DocumentDB global cluster that can span multiple multiple Regions. The global cluster contains one primary cluster with read-write capability, and up-to give read-only secondary clusters. Global clusters uses storage-based fast replication across regions with latencies less than one second, using dedicated infrastructure with no impact to your workload’s performance.</p>
|
|
26
|
-
* <p></p>
|
|
27
|
-
* <p>You can create a global cluster that is initially empty, and then add a primary and a secondary to it. Or you can specify an existing cluster during the create operation, and this cluster becomes the primary of the global cluster. </p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>This action only applies to Amazon DocumentDB clusters.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { DocDBClient, CreateGlobalClusterCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
35
|
-
* // const { DocDBClient, CreateGlobalClusterCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
36
|
-
* const client = new DocDBClient(config);
|
|
37
|
-
* const command = new CreateGlobalClusterCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateGlobalClusterCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateGlobalClusterCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreateGlobalClusterCommand extends $Command<
|
|
47
|
-
CreateGlobalClusterCommandInput,
|
|
48
|
-
CreateGlobalClusterCommandOutput,
|
|
49
|
-
DocDBClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreateGlobalClusterCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: DocDBClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreateGlobalClusterCommandInput, CreateGlobalClusterCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "DocDBClient";
|
|
74
|
-
const commandName = "CreateGlobalClusterCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreateGlobalClusterMessage.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreateGlobalClusterResult.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreateGlobalClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_queryCreateGlobalClusterCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateGlobalClusterCommandOutput> {
|
|
95
|
-
return deserializeAws_queryCreateGlobalClusterCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,96 +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 { DeleteDBClusterMessage, DeleteDBClusterResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryDeleteDBClusterCommand,
|
|
18
|
-
serializeAws_queryDeleteDBClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface DeleteDBClusterCommandInput extends DeleteDBClusterMessage {}
|
|
22
|
-
export interface DeleteDBClusterCommandOutput extends DeleteDBClusterResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a previously provisioned cluster. When you delete a cluster, all automated backups for that cluster are deleted and can't be recovered. Manual DB cluster snapshots of the specified cluster are not deleted.</p>
|
|
26
|
-
* <p></p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { DocDBClient, DeleteDBClusterCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
31
|
-
* // const { DocDBClient, DeleteDBClusterCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
32
|
-
* const client = new DocDBClient(config);
|
|
33
|
-
* const command = new DeleteDBClusterCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DeleteDBClusterCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DeleteDBClusterCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DeleteDBClusterCommand extends $Command<
|
|
43
|
-
DeleteDBClusterCommandInput,
|
|
44
|
-
DeleteDBClusterCommandOutput,
|
|
45
|
-
DocDBClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DeleteDBClusterCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: DocDBClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DeleteDBClusterCommandInput, DeleteDBClusterCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "DocDBClient";
|
|
70
|
-
const commandName = "DeleteDBClusterCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DeleteDBClusterMessage.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DeleteDBClusterResult.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DeleteDBClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_queryDeleteDBClusterCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteDBClusterCommandOutput> {
|
|
91
|
-
return deserializeAws_queryDeleteDBClusterCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -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 { DeleteDBClusterParameterGroupMessage } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryDeleteDBClusterParameterGroupCommand,
|
|
18
|
-
serializeAws_queryDeleteDBClusterParameterGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface DeleteDBClusterParameterGroupCommandInput extends DeleteDBClusterParameterGroupMessage {}
|
|
22
|
-
export interface DeleteDBClusterParameterGroupCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Deletes a specified cluster parameter group. The cluster parameter group to be deleted can't be associated with any clusters.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, DeleteDBClusterParameterGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, DeleteDBClusterParameterGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new DeleteDBClusterParameterGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link DeleteDBClusterParameterGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link DeleteDBClusterParameterGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class DeleteDBClusterParameterGroupCommand extends $Command<
|
|
42
|
-
DeleteDBClusterParameterGroupCommandInput,
|
|
43
|
-
DeleteDBClusterParameterGroupCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: DeleteDBClusterParameterGroupCommandInput) {
|
|
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<DeleteDBClusterParameterGroupCommandInput, DeleteDBClusterParameterGroupCommandOutput> {
|
|
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 = "DeleteDBClusterParameterGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: DeleteDBClusterParameterGroupMessage.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: DeleteDBClusterParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryDeleteDBClusterParameterGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<DeleteDBClusterParameterGroupCommandOutput> {
|
|
93
|
-
return deserializeAws_queryDeleteDBClusterParameterGroupCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|