The AWS SDK for JavaScript v2 has reached end-of-support.
We recommend that you migrate to AWS SDK for JavaScript v3. For additional details and information on how to migrate, please refer to the announcement.

Class: AWS.Glue

Inherits:
AWS.Service show all
Identifier:
glue
API Version:
2017-03-31
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

Defines the public endpoint for the Glue service.

Sending a Request Using Glue

var glue = new AWS.Glue();
glue.batchCreatePartition(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the Glue object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var glue = new AWS.Glue({apiVersion: '2017-03-31'});

You can also set the API version globally in AWS.config.apiVersions using the glue service identifier:

AWS.config.apiVersions = {
  glue: '2017-03-31',
  // other service API versions
};

var glue = new AWS.Glue();

Version:

  • 2017-03-31

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.Glue(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a Glue object

var glue = new AWS.Glue({apiVersion: '2017-03-31'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.Glue.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.Glue.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.Glue.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

batchCreatePartition(params = {}, callback) ⇒ AWS.Request

Creates one or more partitions in a batch operation.

Service Reference:

Examples:

Calling the batchCreatePartition operation

var params = {
  DatabaseName: 'STRING_VALUE', /* required */
  PartitionInputList: [ /* required */
    {
      LastAccessTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
      LastAnalyzedTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
      Parameters: {
        '<KeyString>': 'STRING_VALUE',
        /* '<KeyString>': ... */
      },
      StorageDescriptor: {
        AdditionalLocations: [
          'STRING_VALUE',
          /* more items */
        ],
        BucketColumns: [
          'STRING_VALUE',
          /* more items */
        ],
        Columns: [
          {
            Name: 'STRING_VALUE', /* required */
            Comment: 'STRING_VALUE',
            Parameters: {
              '<KeyString>': 'STRING_VALUE',
              /* '<KeyString>': ... */
            },
            Type: 'STRING_VALUE'
          },
          /* more items */
        ],
        Compressed: true || false,
        InputFormat: 'STRING_VALUE',
        Location: 'STRING_VALUE',
        NumberOfBuckets: 'NUMBER_VALUE',
        OutputFormat: 'STRING_VALUE',
        Parameters: {
          '<KeyString>': 'STRING_VALUE',
          /* '<KeyString>': ... */
        },
        SchemaReference: {
          SchemaId: {
            RegistryName: 'STRING_VALUE',
            SchemaArn: 'STRING_VALUE',
            SchemaName: 'STRING_VALUE'
          },
          SchemaVersionId: 'STRING_VALUE',
          SchemaVersionNumber: 'NUMBER_VALUE'
        },
        SerdeInfo: {
          Name: 'STRING_VALUE',
          Parameters: {
            '<KeyString>': 'STRING_VALUE',
            /* '<KeyString>': ... */
          },
          SerializationLibrary: 'STRING_VALUE'
        },
        SkewedInfo: {
          SkewedColumnNames: [
            'STRING_VALUE',
            /* more items */
          ],
          SkewedColumnValueLocationMaps: {
            '<ColumnValuesString>': 'STRING_VALUE',
            /* '<ColumnValuesString>': ... */
          },
          SkewedColumnValues: [
            'STRING_VALUE',
            /* more items */
          ]
        },
        SortColumns: [
          {
            Column: 'STRING_VALUE', /* required */
            SortOrder: 'NUMBER_VALUE' /* required */
          },
          /* more items */
        ],
        StoredAsSubDirectories: true || false
      },
      Values: [
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  TableName: 'STRING_VALUE', /* required */
  CatalogId: 'STRING_VALUE'
};
glue.batchCreatePartition(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CatalogId — (String)

      The ID of the catalog in which the partition is to be created. Currently, this should be the Amazon Web Services account ID.

    • DatabaseName — (String)

      The name of the metadata database in which the partition is to be created.

    • TableName — (String)

      The name of the metadata table in which the partition is to be created.

    • PartitionInputList — (Array<map>)

      A list of PartitionInput structures that define the partitions to be created.

      • Values — (Array<String>)

        The values of the partition. Although this parameter is not required by the SDK, you must specify this parameter for a valid input.

        The values for the keys for the new partition must be passed as an array of String objects that must be ordered in the same order as the partition keys appearing in the Amazon S3 prefix. Otherwise Glue will add the values to the wrong keys.

      • LastAccessTime — (Date)

        The last time at which the partition was accessed.

      • StorageDescriptor — (map)

        Provides information about the physical location where the partition is stored.

        • Columns — (Array<map>)

          A list of the Columns in the table.

          • Namerequired — (String)

            The name of the Column.

          • Type — (String)

            The data type of the Column.

          • Comment — (String)

            A free-form text comment.

          • Parameters — (map<String>)

            These key-value pairs define properties associated with the column.

        • Location — (String)

          The physical location of the table. By default, this takes the form of the warehouse location, followed by the database location in the warehouse, followed by the table name.

        • AdditionalLocations — (Array<String>)

          A list of locations that point to the path where a Delta table is located.

        • InputFormat — (String)

          The input format: SequenceFileInputFormat (binary), or TextInputFormat, or a custom format.

        • OutputFormat — (String)

          The output format: SequenceFileOutputFormat (binary), or IgnoreKeyTextOutputFormat, or a custom format.

        • Compressed — (Boolean)

          True if the data in the table is compressed, or False if not.

        • NumberOfBuckets — (Integer)

          Must be specified if the table contains any dimension columns.

        • SerdeInfo — (map)

          The serialization/deserialization (SerDe) information.

          • Name — (String)

            Name of the SerDe.

          • SerializationLibrary — (String)

            Usually the class that implements the SerDe. An example is org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe.

          • Parameters — (map<String>)

            These key-value pairs define initialization parameters for the SerDe.

        • BucketColumns — (Array<String>)

          A list of reducer grouping columns, clustering columns, and bucketing columns in the table.

        • SortColumns — (Array<map>)

          A list specifying the sort order of each bucket in the table.

          • Columnrequired — (String)

            The name of the column.

          • SortOrderrequired — (Integer)

            Indicates that the column is sorted in ascending order (== 1), or in descending order (==0).

        • Parameters — (map<String>)

          The user-supplied properties in key-value form.

        • SkewedInfo — (map)

          The information about values that appear frequently in a column (skewed values).

          • SkewedColumnNames — (Array<String>)

            A list of names of columns that contain skewed values.

          • SkewedColumnValues — (Array<String>)

            A list of values that appear so frequently as to be considered skewed.

          • SkewedColumnValueLocationMaps — (map<String>)

            A mapping of skewed values to the columns that contain them.

        • StoredAsSubDirectories — (Boolean)

          True if the table data is stored in subdirectories, or False if not.

        • SchemaReference — (map)

          An object that references a schema stored in the Glue Schema Registry.

          When creating a table, you can pass an empty list of columns for the schema, and instead use a schema reference.

          • SchemaId — (map)

            A structure that contains schema identity fields. Either this or the SchemaVersionId has to be provided.

            • SchemaArn — (String)

              The Amazon Resource Name (ARN) of the schema. One of SchemaArn or SchemaName has to be provided.

            • SchemaName — (String)

              The name of the schema. One of SchemaArn or SchemaName has to be provided.

            • RegistryName — (String)

              The name of the schema registry that contains the schema.

          • SchemaVersionId — (String)

            The unique ID assigned to a version of the schema. Either this or the SchemaId has to be provided.

          • SchemaVersionNumber — (Integer)

            The version number of the schema.

      • Parameters — (map<String>)

        These key-value pairs define partition parameters.

      • LastAnalyzedTime — (Date)

        The last time at which column statistics were computed for this partition.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Errors — (Array<map>)

        The errors encountered when trying to create the requested partitions.

        • PartitionValues — (Array<String>)

          The values that define the partition.

        • ErrorDetail — (map)

          The details about the partition error.

          • ErrorCode — (String)

            The code associated with this error.

          • ErrorMessage — (String)

            A message describing the error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchDeleteConnection(params = {}, callback) ⇒ AWS.Request

Deletes a list of connection definitions from the Data Catalog.

Service Reference:

Examples:

Calling the batchDeleteConnection operation

var params = {
  ConnectionNameList: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  CatalogId: 'STRING_VALUE'
};
glue.batchDeleteConnection(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CatalogId — (String)

      The ID of the Data Catalog in which the connections reside. If none is provided, the Amazon Web Services account ID is used by default.

    • ConnectionNameList — (Array<String>)

      A list of names of the connections to delete.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Succeeded — (Array<String>)

        A list of names of the connection definitions that were successfully deleted.

      • Errors — (map<map>)

        A map of the names of connections that were not successfully deleted to error details.

        • ErrorCode — (String)

          The code associated with this error.

        • ErrorMessage — (String)

          A message describing the error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchDeletePartition(params = {}, callback) ⇒ AWS.Request

Deletes one or more partitions in a batch operation.

Service Reference:

Examples:

Calling the batchDeletePartition operation

var params = {
  DatabaseName: 'STRING_VALUE', /* required */
  PartitionsToDelete: [ /* required */
    {
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  TableName: 'STRING_VALUE', /* required */
  CatalogId: 'STRING_VALUE'
};
glue.batchDeletePartition(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CatalogId — (String)

      The ID of the Data Catalog where the partition to be deleted resides. If none is provided, the Amazon Web Services account ID is used by default.

    • DatabaseName — (String)

      The name of the catalog database in which the table in question resides.

    • TableName — (String)

      The name of the table that contains the partitions to be deleted.

    • PartitionsToDelete — (Array<map>)

      A list of PartitionInput structures that define the partitions to be deleted.

      • Valuesrequired — (Array<String>)

        The list of values.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Errors — (Array<map>)

        The errors encountered when trying to delete the requested partitions.

        • PartitionValues — (Array<String>)

          The values that define the partition.

        • ErrorDetail — (map)

          The details about the partition error.

          • ErrorCode — (String)

            The code associated with this error.

          • ErrorMessage — (String)

            A message describing the error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchDeleteTable(params = {}, callback) ⇒ AWS.Request

Deletes multiple tables at once.

Note: After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. Glue deletes these "orphaned" resources asynchronously in a timely manner, at the discretion of the service. To ensure the immediate deletion of all related resources, before calling BatchDeleteTable, use DeleteTableVersion or BatchDeleteTableVersion, and DeletePartition or BatchDeletePartition, to delete any resources that belong to the table.

Service Reference:

Examples:

Calling the batchDeleteTable operation

var params = {
  DatabaseName: 'STRING_VALUE', /* required */
  TablesToDelete: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  CatalogId: 'STRING_VALUE',
  TransactionId: 'STRING_VALUE'
};
glue.batchDeleteTable(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CatalogId — (String)

      The ID of the Data Catalog where the table resides. If none is provided, the Amazon Web Services account ID is used by default.

    • DatabaseName — (String)

      The name of the catalog database in which the tables to delete reside. For Hive compatibility, this name is entirely lowercase.

    • TablesToDelete — (Array<String>)

      A list of the table to delete.

    • TransactionId — (String)

      The transaction ID at which to delete the table contents.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Errors — (Array<map>)

        A list of errors encountered in attempting to delete the specified tables.

        • TableName — (String)

          The name of the table. For Hive compatibility, this must be entirely lowercase.

        • ErrorDetail — (map)

          The details about the error.

          • ErrorCode — (String)

            The code associated with this error.

          • ErrorMessage — (String)

            A message describing the error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchDeleteTableVersion(params = {}, callback) ⇒ AWS.Request

Deletes a specified batch of versions of a table.

Service Reference:

Examples:

Calling the batchDeleteTableVersion operation

var params = {
  DatabaseName: 'STRING_VALUE', /* required */
  TableName: 'STRING_VALUE', /* required */
  VersionIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  CatalogId: 'STRING_VALUE'
};
glue.batchDeleteTableVersion(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • CatalogId — (String)

      The ID of the Data Catalog where the tables reside. If none is provided, the Amazon Web Services account ID is used by default.

    • DatabaseName — (String)

      The database in the catalog in which the table resides. For Hive compatibility, this name is entirely lowercase.

    • TableName — (String)

      The name of the table. For Hive compatibility, this name is entirely lowercase.

    • VersionIds — (Array<String>)

      A list of the IDs of versions to be deleted. A VersionId is a string representation of an integer. Each version is incremented by 1.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • Errors — (Array<map>)

        A list of errors encountered while trying to delete the specified table versions.

        • TableName — (String)

          The name of the table in question.

        • VersionId — (String)

          The ID value of the version in question. A VersionID is a string representation of an integer. Each version is incremented by 1.

        • ErrorDetail — (map)

          The details about the error.

          • ErrorCode — (String)

            The code associated with this error.

          • ErrorMessage — (String)

            A message describing the error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

batchGetBlueprints(params = {}, callback) ⇒ AWS.Request

Retrieves information about a list of blueprints.

Service Reference:

Examples:

Calling the batchGetBlueprints operation

var params = {
  Names: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  IncludeBlueprint: true || false,
  IncludeParameterSpec: true || false
};
glue.batchGetBlueprints(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • Names — (Array<String>)

      A list of blueprint names.

    • IncludeBlueprint — (Boolean)

      Specifies whether or not to include the blueprint in the response.