@aws-sdk/client-docdb 3.35.0 → 3.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/dist-cjs/DocDB.js +0 -4
- package/dist-cjs/DocDBClient.js +0 -9
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -26
- package/dist-cjs/commands/AddTagsToResourceCommand.js +0 -28
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js +0 -26
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js +0 -36
- package/dist-cjs/commands/CreateDBClusterCommand.js +0 -25
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js +0 -43
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js +0 -25
- package/dist-cjs/commands/CreateDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js +0 -27
- package/dist-cjs/commands/CreateGlobalClusterCommand.js +0 -30
- package/dist-cjs/commands/DeleteDBClusterCommand.js +0 -26
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js +0 -25
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js +0 -28
- package/dist-cjs/commands/DeleteDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js +0 -29
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js +0 -28
- package/dist-cjs/commands/DescribeCertificatesCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -28
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBClustersCommand.js +0 -30
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBInstancesCommand.js +0 -25
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js +0 -26
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js +0 -26
- package/dist-cjs/commands/DescribeEventsCommand.js +0 -25
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js +0 -28
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -25
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js +0 -26
- package/dist-cjs/commands/FailoverDBClusterCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ModifyDBClusterCommand.js +0 -27
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js +0 -43
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -26
- package/dist-cjs/commands/ModifyDBInstanceCommand.js +0 -25
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js +0 -25
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js +0 -25
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js +0 -28
- package/dist-cjs/commands/RebootDBInstanceCommand.js +0 -31
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js +0 -28
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -26
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js +0 -25
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js +0 -32
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js +0 -27
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js +0 -29
- package/dist-cjs/commands/StartDBClusterCommand.js +0 -27
- package/dist-cjs/commands/StopDBClusterCommand.js +0 -28
- package/dist-cjs/commands/index.js +56 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -71
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -571
- package/dist-cjs/pagination/DescribeCertificatesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeEventsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js +0 -11
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -11
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +17 -0
- package/dist-cjs/protocols/Aws_query.js +0 -3
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js +0 -10
- package/dist-es/DocDB.js +0 -1
- package/dist-es/DocDBClient.js +0 -1
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js +0 -1
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js +0 -1
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/CreateDBInstanceCommand.js +0 -1
- package/dist-es/commands/CreateDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/CreateEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/CreateGlobalClusterCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js +0 -1
- package/dist-es/commands/DeleteDBInstanceCommand.js +0 -1
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/DeleteEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/DeleteGlobalClusterCommand.js +0 -1
- package/dist-es/commands/DescribeCertificatesCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterParametersCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js +0 -1
- package/dist-es/commands/DescribeDBClustersCommand.js +0 -1
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js +0 -1
- package/dist-es/commands/DescribeDBInstancesCommand.js +0 -1
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js +0 -1
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js +0 -1
- package/dist-es/commands/DescribeEventCategoriesCommand.js +0 -1
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js +0 -1
- package/dist-es/commands/DescribeEventsCommand.js +0 -1
- package/dist-es/commands/DescribeGlobalClustersCommand.js +0 -1
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js +0 -1
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js +0 -1
- package/dist-es/commands/FailoverDBClusterCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js +0 -1
- package/dist-es/commands/ModifyDBInstanceCommand.js +0 -1
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js +0 -1
- package/dist-es/commands/ModifyEventSubscriptionCommand.js +0 -1
- package/dist-es/commands/ModifyGlobalClusterCommand.js +0 -1
- package/dist-es/commands/RebootDBInstanceCommand.js +0 -1
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js +0 -1
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js +0 -1
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js +0 -1
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js +0 -1
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js +0 -1
- package/dist-es/commands/StartDBClusterCommand.js +0 -1
- package/dist-es/commands/StopDBClusterCommand.js +0 -1
- package/dist-es/commands/index.js +53 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -71
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeCertificatesPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBClustersPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBInstancesPaginator.js +0 -1
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js +0 -1
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js +0 -1
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js +0 -1
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +14 -0
- package/dist-es/protocols/Aws_query.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForDBInstanceAvailable.js +0 -1
- package/dist-types/commands/index.d.ts +53 -0
- package/dist-types/index.d.ts +5 -70
- package/dist-types/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/DocDB.d.ts +54 -286
- package/dist-types/ts3.4/DocDBClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/AddSourceIdentifierToSubscriptionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ApplyPendingMaintenanceActionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CopyDBClusterParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CopyDBClusterSnapshotCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/CreateDBClusterCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBClusterParameterGroupCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/CreateDBClusterSnapshotCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateDBSubnetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEventSubscriptionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateGlobalClusterCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteDBClusterCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteDBClusterParameterGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDBClusterSnapshotCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteDBSubnetGroupCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteEventSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteGlobalClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeCertificatesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClusterParameterGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClusterParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotAttributesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeDBClusterSnapshotsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBClustersCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeDBEngineVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBInstancesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeDBSubnetGroupsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEngineDefaultClusterParametersCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeGlobalClustersCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeOrderableDBInstanceOptionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePendingMaintenanceActionsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/FailoverDBClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyDBClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ModifyDBClusterParameterGroupCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/ModifyDBClusterSnapshotAttributeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ModifyDBInstanceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyDBSubnetGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyEventSubscriptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyGlobalClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RebootDBInstanceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/RemoveFromGlobalClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/RemoveSourceIdentifierFromSubscriptionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ResetDBClusterParameterGroupCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/RestoreDBClusterFromSnapshotCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RestoreDBClusterToPointInTimeCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/StartDBClusterCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/StopDBClusterCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/index.d.ts +53 -0
- package/dist-types/ts3.4/index.d.ts +5 -70
- package/dist-types/ts3.4/models/models_0.d.ts +845 -3657
- package/dist-types/ts3.4/pagination/index.d.ts +14 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForDBInstanceAvailable.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +35 -32
- package/dist-cjs/DocDB.js.map +0 -1
- package/dist-cjs/DocDBClient.js.map +0 -1
- package/dist-cjs/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/CreateDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeCertificatesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBInstancesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventCategoriesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGlobalClustersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
- package/dist-cjs/commands/FailoverDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyEventSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RebootDBInstanceCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveFromGlobalClusterCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
- package/dist-cjs/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
- package/dist-cjs/commands/StartDBClusterCommand.js.map +0 -1
- package/dist-cjs/commands/StopDBClusterCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeCertificatesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBInstancesPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeGlobalClustersPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_query.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForDBInstanceAvailable.js.map +0 -1
- package/dist-es/DocDB.js.map +0 -1
- package/dist-es/DocDBClient.js.map +0 -1
- package/dist-es/commands/AddSourceIdentifierToSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/AddTagsToResourceCommand.js.map +0 -1
- package/dist-es/commands/ApplyPendingMaintenanceActionCommand.js.map +0 -1
- package/dist-es/commands/CopyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CopyDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/CreateDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/CreateDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/CreateEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/CreateGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBClusterSnapshotCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/DeleteDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/DeleteEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/DeleteGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/DescribeCertificatesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterParameterGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotAttributesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClusterSnapshotsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBEngineVersionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBInstancesCommand.js.map +0 -1
- package/dist-es/commands/DescribeDBSubnetGroupsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEngineDefaultClusterParametersCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventCategoriesCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventSubscriptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribeEventsCommand.js.map +0 -1
- package/dist-es/commands/DescribeGlobalClustersCommand.js.map +0 -1
- package/dist-es/commands/DescribeOrderableDBInstanceOptionsCommand.js.map +0 -1
- package/dist-es/commands/DescribePendingMaintenanceActionsCommand.js.map +0 -1
- package/dist-es/commands/FailoverDBClusterCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBClusterSnapshotAttributeCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/ModifyDBSubnetGroupCommand.js.map +0 -1
- package/dist-es/commands/ModifyEventSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/ModifyGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/RebootDBInstanceCommand.js.map +0 -1
- package/dist-es/commands/RemoveFromGlobalClusterCommand.js.map +0 -1
- package/dist-es/commands/RemoveSourceIdentifierFromSubscriptionCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsFromResourceCommand.js.map +0 -1
- package/dist-es/commands/ResetDBClusterParameterGroupCommand.js.map +0 -1
- package/dist-es/commands/RestoreDBClusterFromSnapshotCommand.js.map +0 -1
- package/dist-es/commands/RestoreDBClusterToPointInTimeCommand.js.map +0 -1
- package/dist-es/commands/StartDBClusterCommand.js.map +0 -1
- package/dist-es/commands/StopDBClusterCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeCertificatesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterParameterGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterParametersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClusterSnapshotsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBClustersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBEngineVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBInstancesPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeDBSubnetGroupsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventSubscriptionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeEventsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeGlobalClustersPaginator.js.map +0 -1
- package/dist-es/pagination/DescribeOrderableDBInstanceOptionsPaginator.js.map +0 -1
- package/dist-es/pagination/DescribePendingMaintenanceActionsPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_query.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForDBInstanceAvailable.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/DocDB.ts +0 -2097
- package/src/DocDBClient.ts +0 -515
- package/src/commands/AddSourceIdentifierToSubscriptionCommand.ts +0 -104
- package/src/commands/AddTagsToResourceCommand.ts +0 -98
- package/src/commands/ApplyPendingMaintenanceActionCommand.ts +0 -101
- package/src/commands/CopyDBClusterParameterGroupCommand.ts +0 -98
- package/src/commands/CopyDBClusterSnapshotCommand.ts +0 -108
- package/src/commands/CreateDBClusterCommand.ts +0 -95
- package/src/commands/CreateDBClusterParameterGroupCommand.ts +0 -118
- package/src/commands/CreateDBClusterSnapshotCommand.ts +0 -95
- package/src/commands/CreateDBInstanceCommand.ts +0 -95
- package/src/commands/CreateDBSubnetGroupCommand.ts +0 -96
- package/src/commands/CreateEventSubscriptionCommand.ts +0 -97
- package/src/commands/CreateGlobalClusterCommand.ts +0 -100
- package/src/commands/DeleteDBClusterCommand.ts +0 -96
- package/src/commands/DeleteDBClusterParameterGroupCommand.ts +0 -98
- package/src/commands/DeleteDBClusterSnapshotCommand.ts +0 -98
- package/src/commands/DeleteDBInstanceCommand.ts +0 -95
- package/src/commands/DeleteDBSubnetGroupCommand.ts +0 -99
- package/src/commands/DeleteEventSubscriptionCommand.ts +0 -95
- package/src/commands/DeleteGlobalClusterCommand.ts +0 -98
- package/src/commands/DescribeCertificatesCommand.ts +0 -95
- package/src/commands/DescribeDBClusterParameterGroupsCommand.ts +0 -103
- package/src/commands/DescribeDBClusterParametersCommand.ts +0 -99
- package/src/commands/DescribeDBClusterSnapshotAttributesCommand.ts +0 -109
- package/src/commands/DescribeDBClusterSnapshotsCommand.ts +0 -98
- package/src/commands/DescribeDBClustersCommand.ts +0 -100
- package/src/commands/DescribeDBEngineVersionsCommand.ts +0 -95
- package/src/commands/DescribeDBInstancesCommand.ts +0 -95
- package/src/commands/DescribeDBSubnetGroupsCommand.ts +0 -96
- package/src/commands/DescribeEngineDefaultClusterParametersCommand.ts +0 -108
- package/src/commands/DescribeEventCategoriesCommand.ts +0 -96
- package/src/commands/DescribeEventSubscriptionsCommand.ts +0 -99
- package/src/commands/DescribeEventsCommand.ts +0 -95
- package/src/commands/DescribeGlobalClustersCommand.ts +0 -98
- package/src/commands/DescribeOrderableDBInstanceOptionsCommand.ts +0 -103
- package/src/commands/DescribePendingMaintenanceActionsCommand.ts +0 -104
- package/src/commands/FailoverDBClusterCommand.ts +0 -97
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ModifyDBClusterCommand.ts +0 -97
- package/src/commands/ModifyDBClusterParameterGroupCommand.ts +0 -118
- package/src/commands/ModifyDBClusterSnapshotAttributeCommand.ts +0 -104
- package/src/commands/ModifyDBInstanceCommand.ts +0 -95
- package/src/commands/ModifyDBSubnetGroupCommand.ts +0 -95
- package/src/commands/ModifyEventSubscriptionCommand.ts +0 -95
- package/src/commands/ModifyGlobalClusterCommand.ts +0 -98
- package/src/commands/RebootDBInstanceCommand.ts +0 -101
- package/src/commands/RemoveFromGlobalClusterCommand.ts +0 -98
- package/src/commands/RemoveSourceIdentifierFromSubscriptionCommand.ts +0 -108
- package/src/commands/RemoveTagsFromResourceCommand.ts +0 -95
- package/src/commands/ResetDBClusterParameterGroupCommand.ts +0 -107
- package/src/commands/RestoreDBClusterFromSnapshotCommand.ts +0 -102
- package/src/commands/RestoreDBClusterToPointInTimeCommand.ts +0 -104
- package/src/commands/StartDBClusterCommand.ts +0 -97
- package/src/commands/StopDBClusterCommand.ts +0 -98
- package/src/endpoints.ts +0 -91
- package/src/index.ts +0 -71
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -6422
- package/src/pagination/DescribeCertificatesPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterParameterGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterParametersPaginator.ts +0 -59
- package/src/pagination/DescribeDBClusterSnapshotsPaginator.ts +0 -59
- package/src/pagination/DescribeDBClustersPaginator.ts +0 -59
- package/src/pagination/DescribeDBEngineVersionsPaginator.ts +0 -59
- package/src/pagination/DescribeDBInstancesPaginator.ts +0 -59
- package/src/pagination/DescribeDBSubnetGroupsPaginator.ts +0 -59
- package/src/pagination/DescribeEventSubscriptionsPaginator.ts +0 -59
- package/src/pagination/DescribeEventsPaginator.ts +0 -59
- package/src/pagination/DescribeGlobalClustersPaginator.ts +0 -59
- package/src/pagination/DescribeOrderableDBInstanceOptionsPaginator.ts +0 -59
- package/src/pagination/DescribePendingMaintenanceActionsPaginator.ts +0 -59
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -10761
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForDBInstanceAvailable.ts +0 -125
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DocDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBClient";
|
|
15
|
-
import { AddTagsToResourceMessage } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryAddTagsToResourceCommand,
|
|
18
|
-
serializeAws_queryAddTagsToResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface AddTagsToResourceCommandInput extends AddTagsToResourceMessage {}
|
|
22
|
-
export interface AddTagsToResourceCommandOutput extends __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Adds metadata tags to an Amazon DocumentDB resource. You can use these tags
|
|
26
|
-
* with cost allocation reporting to track costs that are associated
|
|
27
|
-
* with Amazon DocumentDB resources or in a <code>Condition</code> statement in
|
|
28
|
-
* an Identity and Access Management (IAM) policy for Amazon DocumentDB.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DocDBClient, AddTagsToResourceCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
33
|
-
* // const { DocDBClient, AddTagsToResourceCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
34
|
-
* const client = new DocDBClient(config);
|
|
35
|
-
* const command = new AddTagsToResourceCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link AddTagsToResourceCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link AddTagsToResourceCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class AddTagsToResourceCommand extends $Command<
|
|
45
|
-
AddTagsToResourceCommandInput,
|
|
46
|
-
AddTagsToResourceCommandOutput,
|
|
47
|
-
DocDBClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: AddTagsToResourceCommandInput) {
|
|
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<AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput> {
|
|
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 = "AddTagsToResourceCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: AddTagsToResourceMessage.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
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: AddTagsToResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_queryAddTagsToResourceCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddTagsToResourceCommandOutput> {
|
|
93
|
-
return deserializeAws_queryAddTagsToResourceCommand(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 { ApplyPendingMaintenanceActionMessage, ApplyPendingMaintenanceActionResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryApplyPendingMaintenanceActionCommand,
|
|
18
|
-
serializeAws_queryApplyPendingMaintenanceActionCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface ApplyPendingMaintenanceActionCommandInput extends ApplyPendingMaintenanceActionMessage {}
|
|
22
|
-
export interface ApplyPendingMaintenanceActionCommandOutput
|
|
23
|
-
extends ApplyPendingMaintenanceActionResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Applies a pending maintenance action to a resource (for example,
|
|
28
|
-
* to an Amazon DocumentDB instance).</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { DocDBClient, ApplyPendingMaintenanceActionCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
33
|
-
* // const { DocDBClient, ApplyPendingMaintenanceActionCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
34
|
-
* const client = new DocDBClient(config);
|
|
35
|
-
* const command = new ApplyPendingMaintenanceActionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link ApplyPendingMaintenanceActionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link ApplyPendingMaintenanceActionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class ApplyPendingMaintenanceActionCommand extends $Command<
|
|
45
|
-
ApplyPendingMaintenanceActionCommandInput,
|
|
46
|
-
ApplyPendingMaintenanceActionCommandOutput,
|
|
47
|
-
DocDBClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: ApplyPendingMaintenanceActionCommandInput) {
|
|
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<ApplyPendingMaintenanceActionCommandInput, ApplyPendingMaintenanceActionCommandOutput> {
|
|
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 = "ApplyPendingMaintenanceActionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: ApplyPendingMaintenanceActionMessage.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: ApplyPendingMaintenanceActionResult.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: ApplyPendingMaintenanceActionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_queryApplyPendingMaintenanceActionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(
|
|
93
|
-
output: __HttpResponse,
|
|
94
|
-
context: __SerdeContext
|
|
95
|
-
): Promise<ApplyPendingMaintenanceActionCommandOutput> {
|
|
96
|
-
return deserializeAws_queryApplyPendingMaintenanceActionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -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 { CopyDBClusterParameterGroupMessage, CopyDBClusterParameterGroupResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCopyDBClusterParameterGroupCommand,
|
|
18
|
-
serializeAws_queryCopyDBClusterParameterGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CopyDBClusterParameterGroupCommandInput extends CopyDBClusterParameterGroupMessage {}
|
|
22
|
-
export interface CopyDBClusterParameterGroupCommandOutput extends CopyDBClusterParameterGroupResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Copies the specified cluster parameter group.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { DocDBClient, CopyDBClusterParameterGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, CopyDBClusterParameterGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new CopyDBClusterParameterGroupCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CopyDBClusterParameterGroupCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CopyDBClusterParameterGroupCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CopyDBClusterParameterGroupCommand extends $Command<
|
|
42
|
-
CopyDBClusterParameterGroupCommandInput,
|
|
43
|
-
CopyDBClusterParameterGroupCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CopyDBClusterParameterGroupCommandInput) {
|
|
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<CopyDBClusterParameterGroupCommandInput, CopyDBClusterParameterGroupCommandOutput> {
|
|
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 = "CopyDBClusterParameterGroupCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CopyDBClusterParameterGroupMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CopyDBClusterParameterGroupResult.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: CopyDBClusterParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryCopyDBClusterParameterGroupCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<CopyDBClusterParameterGroupCommandOutput> {
|
|
93
|
-
return deserializeAws_queryCopyDBClusterParameterGroupCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { getCrossRegionPresignedUrlPlugin } from "@aws-sdk/middleware-sdk-rds";
|
|
2
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
4
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
6
|
-
FinalizeHandlerArguments,
|
|
7
|
-
Handler,
|
|
8
|
-
HandlerExecutionContext,
|
|
9
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
|
-
MetadataBearer as __MetadataBearer,
|
|
11
|
-
MiddlewareStack,
|
|
12
|
-
SerdeContext as __SerdeContext,
|
|
13
|
-
} from "@aws-sdk/types";
|
|
14
|
-
|
|
15
|
-
import { DocDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBClient";
|
|
16
|
-
import { CopyDBClusterSnapshotMessage, CopyDBClusterSnapshotResult } from "../models/models_0";
|
|
17
|
-
import {
|
|
18
|
-
deserializeAws_queryCopyDBClusterSnapshotCommand,
|
|
19
|
-
serializeAws_queryCopyDBClusterSnapshotCommand,
|
|
20
|
-
} from "../protocols/Aws_query";
|
|
21
|
-
|
|
22
|
-
export interface CopyDBClusterSnapshotCommandInput extends CopyDBClusterSnapshotMessage {}
|
|
23
|
-
export interface CopyDBClusterSnapshotCommandOutput extends CopyDBClusterSnapshotResult, __MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Copies a snapshot of a cluster.</p>
|
|
27
|
-
*
|
|
28
|
-
* <p>To copy a cluster snapshot from a shared manual cluster snapshot,
|
|
29
|
-
* <code>SourceDBClusterSnapshotIdentifier</code> must be the Amazon
|
|
30
|
-
* Resource Name (ARN) of the shared cluster snapshot. You can only
|
|
31
|
-
* copy a shared DB cluster snapshot, whether encrypted or not, in the
|
|
32
|
-
* same Region.</p>
|
|
33
|
-
*
|
|
34
|
-
* <p>To cancel the copy operation after it is in progress, delete the
|
|
35
|
-
* target cluster snapshot identified by
|
|
36
|
-
* <code>TargetDBClusterSnapshotIdentifier</code> while that cluster
|
|
37
|
-
* snapshot is in the <i>copying</i> status.</p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { DocDBClient, CopyDBClusterSnapshotCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
42
|
-
* // const { DocDBClient, CopyDBClusterSnapshotCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
43
|
-
* const client = new DocDBClient(config);
|
|
44
|
-
* const command = new CopyDBClusterSnapshotCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link CopyDBClusterSnapshotCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link CopyDBClusterSnapshotCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class CopyDBClusterSnapshotCommand extends $Command<
|
|
54
|
-
CopyDBClusterSnapshotCommandInput,
|
|
55
|
-
CopyDBClusterSnapshotCommandOutput,
|
|
56
|
-
DocDBClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: CopyDBClusterSnapshotCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: DocDBClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<CopyDBClusterSnapshotCommandInput, CopyDBClusterSnapshotCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
this.middlewareStack.use(getCrossRegionPresignedUrlPlugin(configuration));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "DocDBClient";
|
|
82
|
-
const commandName = "CopyDBClusterSnapshotCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: CopyDBClusterSnapshotMessage.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: CopyDBClusterSnapshotResult.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(input: CopyDBClusterSnapshotCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
99
|
-
return serializeAws_queryCopyDBClusterSnapshotCommand(input, context);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CopyDBClusterSnapshotCommandOutput> {
|
|
103
|
-
return deserializeAws_queryCopyDBClusterSnapshotCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { DocDBClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DocDBClient";
|
|
15
|
-
import { CreateDBClusterMessage, CreateDBClusterResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateDBClusterCommand,
|
|
18
|
-
serializeAws_queryCreateDBClusterCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateDBClusterCommandInput extends CreateDBClusterMessage {}
|
|
22
|
-
export interface CreateDBClusterCommandOutput extends CreateDBClusterResult, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a new Amazon DocumentDB 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, CreateDBClusterCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
30
|
-
* // const { DocDBClient, CreateDBClusterCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
31
|
-
* const client = new DocDBClient(config);
|
|
32
|
-
* const command = new CreateDBClusterCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateDBClusterCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateDBClusterCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateDBClusterCommand extends $Command<
|
|
42
|
-
CreateDBClusterCommandInput,
|
|
43
|
-
CreateDBClusterCommandOutput,
|
|
44
|
-
DocDBClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateDBClusterCommandInput) {
|
|
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<CreateDBClusterCommandInput, CreateDBClusterCommandOutput> {
|
|
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 = "CreateDBClusterCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateDBClusterMessage.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateDBClusterResult.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: CreateDBClusterCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_queryCreateDBClusterCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateDBClusterCommandOutput> {
|
|
90
|
-
return deserializeAws_queryCreateDBClusterCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,118 +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 { CreateDBClusterParameterGroupMessage, CreateDBClusterParameterGroupResult } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_queryCreateDBClusterParameterGroupCommand,
|
|
18
|
-
serializeAws_queryCreateDBClusterParameterGroupCommand,
|
|
19
|
-
} from "../protocols/Aws_query";
|
|
20
|
-
|
|
21
|
-
export interface CreateDBClusterParameterGroupCommandInput extends CreateDBClusterParameterGroupMessage {}
|
|
22
|
-
export interface CreateDBClusterParameterGroupCommandOutput
|
|
23
|
-
extends CreateDBClusterParameterGroupResult,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Creates a new cluster parameter group.</p>
|
|
28
|
-
* <p>Parameters in a cluster parameter group apply to all of the
|
|
29
|
-
* instances in a cluster.</p>
|
|
30
|
-
* <p>A cluster parameter group is initially created with the default
|
|
31
|
-
* parameters for the database engine used by instances in the cluster.
|
|
32
|
-
* In Amazon DocumentDB, you cannot make modifications directly to the
|
|
33
|
-
* <code>default.docdb3.6</code> cluster parameter group. If your
|
|
34
|
-
* Amazon DocumentDB cluster is using the default cluster parameter group and you
|
|
35
|
-
* want to modify a value in it, you must first <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-create.html">
|
|
36
|
-
* create a new parameter group</a>
|
|
37
|
-
* or <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-copy.html">
|
|
38
|
-
* copy an existing parameter group</a>,
|
|
39
|
-
* modify it, and then apply the modified parameter group to your
|
|
40
|
-
* cluster. For the new cluster parameter group and associated settings
|
|
41
|
-
* to take effect, you must then reboot the instances in the cluster
|
|
42
|
-
* without failover. For more information,
|
|
43
|
-
* see <a href="https://docs.aws.amazon.com/documentdb/latest/developerguide/cluster_parameter_group-modify.html">
|
|
44
|
-
* Modifying Amazon DocumentDB Cluster Parameter Groups</a>.
|
|
45
|
-
* </p>
|
|
46
|
-
* @example
|
|
47
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
-
* ```javascript
|
|
49
|
-
* import { DocDBClient, CreateDBClusterParameterGroupCommand } from "@aws-sdk/client-docdb"; // ES Modules import
|
|
50
|
-
* // const { DocDBClient, CreateDBClusterParameterGroupCommand } = require("@aws-sdk/client-docdb"); // CommonJS import
|
|
51
|
-
* const client = new DocDBClient(config);
|
|
52
|
-
* const command = new CreateDBClusterParameterGroupCommand(input);
|
|
53
|
-
* const response = await client.send(command);
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @see {@link CreateDBClusterParameterGroupCommandInput} for command's `input` shape.
|
|
57
|
-
* @see {@link CreateDBClusterParameterGroupCommandOutput} for command's `response` shape.
|
|
58
|
-
* @see {@link DocDBClientResolvedConfig | config} for command's `input` shape.
|
|
59
|
-
*
|
|
60
|
-
*/
|
|
61
|
-
export class CreateDBClusterParameterGroupCommand extends $Command<
|
|
62
|
-
CreateDBClusterParameterGroupCommandInput,
|
|
63
|
-
CreateDBClusterParameterGroupCommandOutput,
|
|
64
|
-
DocDBClientResolvedConfig
|
|
65
|
-
> {
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
|
-
|
|
69
|
-
constructor(readonly input: CreateDBClusterParameterGroupCommandInput) {
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
super();
|
|
72
|
-
// End section: command_constructor
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
|
-
resolveMiddleware(
|
|
79
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
80
|
-
configuration: DocDBClientResolvedConfig,
|
|
81
|
-
options?: __HttpHandlerOptions
|
|
82
|
-
): Handler<CreateDBClusterParameterGroupCommandInput, CreateDBClusterParameterGroupCommandOutput> {
|
|
83
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
84
|
-
|
|
85
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
86
|
-
|
|
87
|
-
const { logger } = configuration;
|
|
88
|
-
const clientName = "DocDBClient";
|
|
89
|
-
const commandName = "CreateDBClusterParameterGroupCommand";
|
|
90
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
91
|
-
logger,
|
|
92
|
-
clientName,
|
|
93
|
-
commandName,
|
|
94
|
-
inputFilterSensitiveLog: CreateDBClusterParameterGroupMessage.filterSensitiveLog,
|
|
95
|
-
outputFilterSensitiveLog: CreateDBClusterParameterGroupResult.filterSensitiveLog,
|
|
96
|
-
};
|
|
97
|
-
const { requestHandler } = configuration;
|
|
98
|
-
return stack.resolve(
|
|
99
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
100
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
101
|
-
handlerExecutionContext
|
|
102
|
-
);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private serialize(input: CreateDBClusterParameterGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
106
|
-
return serializeAws_queryCreateDBClusterParameterGroupCommand(input, context);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
private deserialize(
|
|
110
|
-
output: __HttpResponse,
|
|
111
|
-
context: __SerdeContext
|
|
112
|
-
): Promise<CreateDBClusterParameterGroupCommandOutput> {
|
|
113
|
-
return deserializeAws_queryCreateDBClusterParameterGroupCommand(output, context);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
// Start section: command_body_extra
|
|
117
|
-
// End section: command_body_extra
|
|
118
|
-
}
|