@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,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 { ModifyDBClusterSnapshotAttributeMessage, ModifyDBClusterSnapshotAttributeResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryModifyDBClusterSnapshotAttributeCommand,
|
|
18
|
-
serializeAws_queryModifyDBClusterSnapshotAttributeCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ModifyDBClusterSnapshotAttributeCommandInput extends ModifyDBClusterSnapshotAttributeMessage {}
|
|
22
|
-
export interface ModifyDBClusterSnapshotAttributeCommandOutput
|
|
23
|
-
extends ModifyDBClusterSnapshotAttributeResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Adds an attribute and values to, or removes an attribute and values from, a manual cluster snapshot.</p>
|
|
28
|
-
* <p>To share a manual cluster snapshot with other accounts, specify <code>restore</code> as the <code>AttributeName</code>, and use the <code>ValuesToAdd</code> parameter to add a list of IDs of the accounts that are authorized to restore the manual cluster snapshot. Use the value <code>all</code> to make the manual cluster snapshot public, which means that it can be copied or restored by all accounts. Do not add the <code>all</code> value for any manual cluster snapshots that contain private information that you don't want available to all accounts. If a manual cluster snapshot is encrypted, it can be shared, but only by specifying a list of authorized account IDs for the <code>ValuesToAdd</code> parameter. You can't use <code>all</code> as a value for that parameter in this case.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DocDBClient, ModifyDBClusterSnapshotAttributeCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
33
|
-
* // const { DocDBClient, ModifyDBClusterSnapshotAttributeCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
34
|
-
* const client = new DocDBClient(config);
|
|
35
|
-
* const command = new ModifyDBClusterSnapshotAttributeCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ModifyDBClusterSnapshotAttributeCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ModifyDBClusterSnapshotAttributeCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ModifyDBClusterSnapshotAttributeCommand extends $Command<
|
|
45
|
-
ModifyDBClusterSnapshotAttributeCommandInput,
|
|
46
|
-
ModifyDBClusterSnapshotAttributeCommandOutput,
|
|
47
|
-
DocDBClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ModifyDBClusterSnapshotAttributeCommandInput) {
|
|
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<ModifyDBClusterSnapshotAttributeCommandInput, ModifyDBClusterSnapshotAttributeCommandOutput> {
|
|
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 = "ModifyDBClusterSnapshotAttributeCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ModifyDBClusterSnapshotAttributeMessage.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ModifyDBClusterSnapshotAttributeResult.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(
|
|
89
|
-
input: ModifyDBClusterSnapshotAttributeCommandInput,
|
|
90
|
-
context: __SerdeContext
|
|
91
|
-
): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_queryModifyDBClusterSnapshotAttributeCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(
|
|
96
|
-
output: __HttpResponse,
|
|
97
|
-
context: __SerdeContext
|
|
98
|
-
): Promise<ModifyDBClusterSnapshotAttributeCommandOutput> {
|
|
99
|
-
return deserializeAws_queryModifyDBClusterSnapshotAttributeCommand(output, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// Start section: command_body_extra
|
|
103
|
-
// End section: command_body_extra
|
|
104
|
-
}
|
|
@@ -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 { ModifyDBInstanceMessage, ModifyDBInstanceResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryModifyDBInstanceCommand,
|
|
18
|
-
serializeAws_queryModifyDBInstanceCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ModifyDBInstanceCommandInput extends ModifyDBInstanceMessage {}
|
|
22
|
-
export interface ModifyDBInstanceCommandOutput extends ModifyDBInstanceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Modifies settings for an instance. You can change one or more database configuration parameters by specifying these parameters and the new values in the request.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, ModifyDBInstanceCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, ModifyDBInstanceCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new ModifyDBInstanceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ModifyDBInstanceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ModifyDBInstanceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ModifyDBInstanceCommand extends $Command<
|
|
42
|
-
ModifyDBInstanceCommandInput,
|
|
43
|
-
ModifyDBInstanceCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ModifyDBInstanceCommandInput) {
|
|
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<ModifyDBInstanceCommandInput, ModifyDBInstanceCommandOutput> {
|
|
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 = "ModifyDBInstanceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ModifyDBInstanceMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ModifyDBInstanceResult.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: ModifyDBInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryModifyDBInstanceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ModifyDBInstanceCommandOutput> {
|
|
90
|
-
return deserializeAws_queryModifyDBInstanceCommand(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 { ModifyDBSubnetGroupMessage, ModifyDBSubnetGroupResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryModifyDBSubnetGroupCommand,
|
|
18
|
-
serializeAws_queryModifyDBSubnetGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ModifyDBSubnetGroupCommandInput extends ModifyDBSubnetGroupMessage {}
|
|
22
|
-
export interface ModifyDBSubnetGroupCommandOutput extends ModifyDBSubnetGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Modifies an existing subnet group. subnet groups must contain at least one subnet in at least two Availability Zones in the Region.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, ModifyDBSubnetGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, ModifyDBSubnetGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new ModifyDBSubnetGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ModifyDBSubnetGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ModifyDBSubnetGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ModifyDBSubnetGroupCommand extends $Command<
|
|
42
|
-
ModifyDBSubnetGroupCommandInput,
|
|
43
|
-
ModifyDBSubnetGroupCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ModifyDBSubnetGroupCommandInput) {
|
|
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<ModifyDBSubnetGroupCommandInput, ModifyDBSubnetGroupCommandOutput> {
|
|
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 = "ModifyDBSubnetGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ModifyDBSubnetGroupMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ModifyDBSubnetGroupResult.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: ModifyDBSubnetGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryModifyDBSubnetGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ModifyDBSubnetGroupCommandOutput> {
|
|
90
|
-
return deserializeAws_queryModifyDBSubnetGroupCommand(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 { ModifyEventSubscriptionMessage, ModifyEventSubscriptionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryModifyEventSubscriptionCommand,
|
|
18
|
-
serializeAws_queryModifyEventSubscriptionCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ModifyEventSubscriptionCommandInput extends ModifyEventSubscriptionMessage {}
|
|
22
|
-
export interface ModifyEventSubscriptionCommandOutput extends ModifyEventSubscriptionResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Modifies an existing Amazon DocumentDB event notification subscription.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, ModifyEventSubscriptionCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, ModifyEventSubscriptionCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new ModifyEventSubscriptionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ModifyEventSubscriptionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ModifyEventSubscriptionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ModifyEventSubscriptionCommand extends $Command<
|
|
42
|
-
ModifyEventSubscriptionCommandInput,
|
|
43
|
-
ModifyEventSubscriptionCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ModifyEventSubscriptionCommandInput) {
|
|
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<ModifyEventSubscriptionCommandInput, ModifyEventSubscriptionCommandOutput> {
|
|
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 = "ModifyEventSubscriptionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ModifyEventSubscriptionMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ModifyEventSubscriptionResult.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: ModifyEventSubscriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryModifyEventSubscriptionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ModifyEventSubscriptionCommandOutput> {
|
|
90
|
-
return deserializeAws_queryModifyEventSubscriptionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -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 { ModifyGlobalClusterMessage, ModifyGlobalClusterResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryModifyGlobalClusterCommand,
|
|
18
|
-
serializeAws_queryModifyGlobalClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ModifyGlobalClusterCommandInput extends ModifyGlobalClusterMessage {}
|
|
22
|
-
export interface ModifyGlobalClusterCommandOutput extends ModifyGlobalClusterResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Modify a setting for an Amazon DocumentDB global cluster. You can change one or more configuration parameters (for example: deletion protection), or the global cluster identifier by specifying these parameters and the new values in the request.</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, ModifyGlobalClusterCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
33
|
-
* // const { DocDBClient, ModifyGlobalClusterCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
34
|
-
* const client = new DocDBClient(config);
|
|
35
|
-
* const command = new ModifyGlobalClusterCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ModifyGlobalClusterCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ModifyGlobalClusterCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ModifyGlobalClusterCommand extends $Command<
|
|
45
|
-
ModifyGlobalClusterCommandInput,
|
|
46
|
-
ModifyGlobalClusterCommandOutput,
|
|
47
|
-
DocDBClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ModifyGlobalClusterCommandInput) {
|
|
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<ModifyGlobalClusterCommandInput, ModifyGlobalClusterCommandOutput> {
|
|
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 = "ModifyGlobalClusterCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ModifyGlobalClusterMessage.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ModifyGlobalClusterResult.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: ModifyGlobalClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_queryModifyGlobalClusterCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ModifyGlobalClusterCommandOutput> {
|
|
93
|
-
return deserializeAws_queryModifyGlobalClusterCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,101 +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 { RebootDBInstanceMessage, RebootDBInstanceResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryRebootDBInstanceCommand,
|
|
18
|
-
serializeAws_queryRebootDBInstanceCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface RebootDBInstanceCommandInput extends RebootDBInstanceMessage {}
|
|
22
|
-
export interface RebootDBInstanceCommandOutput extends RebootDBInstanceResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>You might need to reboot your instance, usually for maintenance reasons. For
|
|
26
|
-
* example, if you make certain changes, or if you change the cluster parameter group
|
|
27
|
-
* that is associated with the instance, you must reboot the instance for the changes to
|
|
28
|
-
* take effect. </p>
|
|
29
|
-
* <p>Rebooting an instance restarts the database engine service. Rebooting an instance
|
|
30
|
-
* results in a momentary outage, during which the instance status is set to
|
|
31
|
-
* <i>rebooting</i>. </p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { DocDBClient, RebootDBInstanceCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
36
|
-
* // const { DocDBClient, RebootDBInstanceCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
37
|
-
* const client = new DocDBClient(config);
|
|
38
|
-
* const command = new RebootDBInstanceCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link RebootDBInstanceCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link RebootDBInstanceCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class RebootDBInstanceCommand extends $Command<
|
|
48
|
-
RebootDBInstanceCommandInput,
|
|
49
|
-
RebootDBInstanceCommandOutput,
|
|
50
|
-
DocDBClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: RebootDBInstanceCommandInput) {
|
|
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<RebootDBInstanceCommandInput, RebootDBInstanceCommandOutput> {
|
|
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 = "RebootDBInstanceCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: RebootDBInstanceMessage.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: RebootDBInstanceResult.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: RebootDBInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
92
|
-
return serializeAws_queryRebootDBInstanceCommand(input, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RebootDBInstanceCommandOutput> {
|
|
96
|
-
return deserializeAws_queryRebootDBInstanceCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|