How to use where clause in Knex
Create refunds with Stripe
Load HTML with Cheerio
How to send POST request with Axios
Find intersection of array in Lodash
Powered by Official white Bloop logo with a period

Terms / Privacy / Search / Support

  • import { WorkSpacesClient, CreateWorkspaceBundleCommand } from "@aws-sdk/client-workspaces"; // ES Modules import
    // const { WorkSpacesClient, CreateWorkspaceBundleCommand } = require("@aws-sdk/client-workspaces"); // CommonJS import
    const client = new WorkSpacesClient(config);
    const command = new CreateWorkspaceBundleCommand(input);
    const response = await client.send(command);
    
    Docs
  • // The code below shows an example of how to instantiate this type.
    // The values are placeholders you should change.
    import * as workspaces from '@aws-cdk/aws-workspaces';
    const cfnWorkspace = new workspaces.CfnWorkspace(this, 'MyCfnWorkspace', {
      bundleId: 'bundleId',
      directoryId: 'directoryId',
      userName: 'userName',
    
      // the properties below are optional
      rootVolumeEncryptionEnabled: false,
      tags: [{
        key: 'key',
        value: 'value',
      }],
      userVolumeEncryptionEnabled: false,
      volumeEncryptionKey: 'volumeEncryptionKey',
      workspaceProperties: {
        computeTypeName: 'computeTypeName',
        rootVolumeSizeGib: 123,
        runningMode: 'runningMode',
        runningModeAutoStopTimeoutInMinutes: 123,
        userVolumeSizeGib: 123,
      },
    });
    
    Docs
  • const workspaces = io.of(/^\/\w+$/);
    
    workspaces.on("connection", socket => {
      const workspace = socket.nsp;
    
      workspace.emit("hello");
    });
    Docs
  • var params = {
      WorkspaceId: 'STRING_VALUE' /* required */
    };
    workspaces.describeWorkspaceSnapshots(params, function(err, data) {
      if (err) console.log(err, err.stack); // an error occurred
      else     console.log(data);           // successful response
    });
    Docs
  • var params = {
      WorkspaceId: 'STRING_VALUE' /* required */
    };
    workspaces.restoreWorkspace(params, function(err, data) {
      if (err) console.log(err, err.stack); // an error occurred
      else     console.log(data);           // successful response
    });
    Docs
  • Powered by Official black Bloop logo with a period
    download the IDE extension

    View other examples