You are viewing the documentation for an older major version of the AWS SDK for JavaScript.
The modular AWS SDK for JavaScript (v3), the latest major version of AWS SDK for JavaScript, is now stable and recommended for general use. For more information, see the Migration Guide and API Reference.

Class: AWS.AlexaForBusiness

Inherits:
AWS.Service show all
Identifier:
alexaforbusiness
API Version:
2017-11-09
Defined in:
(unknown)

Overview

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

Service Description

Alexa for Business helps you use Alexa in your organization. Alexa for Business provides you with the tools to manage Alexa devices, enroll your users, and assign skills, at scale. You can build your own context-aware voice skills using the Alexa Skills Kit and the Alexa for Business API operations. You can also make these available as private skills for your organization. Alexa for Business makes it efficient to voice-enable your products and services, thus providing context-aware voice experiences for your customers. Device makers building with the Alexa Voice Service (AVS) can create fully integrated solutions, register their products with Alexa for Business, and manage them as shared devices in their organization.

Sending a Request Using AlexaForBusiness

var alexaforbusiness = new AWS.AlexaForBusiness();
alexaforbusiness.forgetSmartHomeAppliances(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 AlexaForBusiness object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var alexaforbusiness = new AWS.AlexaForBusiness({apiVersion: '2017-11-09'});

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

AWS.config.apiVersions = {
  alexaforbusiness: '2017-11-09',
  // other service API versions
};

var alexaforbusiness = new AWS.AlexaForBusiness();

Version:

  • 2017-11-09

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.AlexaForBusiness(options = {}) ⇒ Object

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

Examples:

Constructing a AlexaForBusiness object

var alexaforbusiness = new AWS.AlexaForBusiness({apiVersion: '2017-11-09'});

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.AlexaForBusiness.region for more information.

  • maxRetries (Integer)

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

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.AlexaForBusiness.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'.

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

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

Associates a skill with the organization under the customer's AWS account. If a skill is private, the user implicitly accepts access to this skill during enablement.

Service Reference:

Examples:

Calling the approveSkill operation

var params = {
  SkillId: 'STRING_VALUE' /* required */
};
alexaforbusiness.approveSkill(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: {})
    • SkillId — (String)

      The unique identifier of the skill.

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.

Returns:

  • (AWS.Request)

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

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

Associates a contact with a given address book.

Service Reference:

Examples:

Calling the associateContactWithAddressBook operation

var params = {
  AddressBookArn: 'STRING_VALUE', /* required */
  ContactArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.associateContactWithAddressBook(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: {})
    • ContactArn — (String)

      The ARN of the contact to associate with an address book.

    • AddressBookArn — (String)

      The ARN of the address book with which to associate the contact.

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.

Returns:

  • (AWS.Request)

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

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

Associates a device with the specified network profile.

Examples:

Calling the associateDeviceWithNetworkProfile operation

var params = {
  DeviceArn: 'STRING_VALUE', /* required */
  NetworkProfileArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.associateDeviceWithNetworkProfile(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: {})
    • DeviceArn — (String)

      The device ARN.

    • NetworkProfileArn — (String)

      The ARN of the network profile to associate with a device.

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.

Returns:

  • (AWS.Request)

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

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

Associates a device with a given room. This applies all the settings from the room profile to the device, and all the skills in any skill groups added to that room. This operation requires the device to be online, or else a manual sync is required.

Service Reference:

Examples:

Calling the associateDeviceWithRoom operation

var params = {
  DeviceArn: 'STRING_VALUE',
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.associateDeviceWithRoom(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: {})
    • DeviceArn — (String)

      The ARN of the device to associate to a room. Required.

    • RoomArn — (String)

      The ARN of the room with which to associate the device. Required.

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.

Returns:

  • (AWS.Request)

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

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

Associates a skill group with a given room. This enables all skills in the associated skill group on all devices in the room.

Service Reference:

Examples:

Calling the associateSkillGroupWithRoom operation

var params = {
  RoomArn: 'STRING_VALUE',
  SkillGroupArn: 'STRING_VALUE'
};
alexaforbusiness.associateSkillGroupWithRoom(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group to associate with a room. Required.

    • RoomArn — (String)

      The ARN of the room with which to associate the skill group. Required.

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.

Returns:

  • (AWS.Request)

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

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

Associates a skill with a skill group.

Service Reference:

Examples:

Calling the associateSkillWithSkillGroup operation

var params = {
  SkillId: 'STRING_VALUE', /* required */
  SkillGroupArn: 'STRING_VALUE'
};
alexaforbusiness.associateSkillWithSkillGroup(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group to associate the skill to. Required.

    • SkillId — (String)

      The unique identifier of the skill.

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.

Returns:

  • (AWS.Request)

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

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

Makes a private skill available for enrolled users to enable on their devices.

Service Reference:

Examples:

Calling the associateSkillWithUsers operation

var params = {
  SkillId: 'STRING_VALUE' /* required */
};
alexaforbusiness.associateSkillWithUsers(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: {})
    • SkillId — (String)

      The private skill ID you want to make available to enrolled users.

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.

Returns:

  • (AWS.Request)

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

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

Creates an address book with the specified details.

Service Reference:

Examples:

Calling the createAddressBook operation

var params = {
  Name: 'STRING_VALUE', /* required */
  ClientRequestToken: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createAddressBook(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: {})
    • Name — (String)

      The name of the address book.

    • Description — (String)

      The description of the address book.

    • ClientRequestToken — (String)

      A unique, user-specified identifier for the request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • AddressBookArn — (String)

        The ARN of the newly created address book.

Returns:

  • (AWS.Request)

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

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

Creates a recurring schedule for usage reports to deliver to the specified S3 location with a specified daily or weekly interval.

Service Reference:

Examples:

Calling the createBusinessReportSchedule operation

var params = {
  ContentRange: { /* required */
    Interval: ONE_DAY | ONE_WEEK | THIRTY_DAYS /* required */
  },
  Format: CSV | CSV_ZIP, /* required */
  ClientRequestToken: 'STRING_VALUE',
  Recurrence: {
    StartDate: 'STRING_VALUE'
  },
  S3BucketName: 'STRING_VALUE',
  S3KeyPrefix: 'STRING_VALUE',
  ScheduleName: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createBusinessReportSchedule(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: {})
    • ScheduleName — (String)

      The name identifier of the schedule.

    • S3BucketName — (String)

      The S3 bucket name of the output reports. If this isn't specified, the report can be retrieved from a download link by calling ListBusinessReportSchedule.

    • S3KeyPrefix — (String)

      The S3 key where the report is delivered.

    • Format — (String)

      The format of the generated report (individual CSV files or zipped files of individual files).

      Possible values include:
      • "CSV"
      • "CSV_ZIP"
    • ContentRange — (map)

      The content range of the reports.

      • Intervalrequired — (String)

        The interval of the content range.

        Possible values include:
        • "ONE_DAY"
        • "ONE_WEEK"
        • "THIRTY_DAYS"
    • Recurrence — (map)

      The recurrence of the reports. If this isn't specified, the report will only be delivered one time when the API is called.

      • StartDate — (String)

        The start date.

    • ClientRequestToken — (String)

      The client request token.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags for the business report schedule.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • ScheduleArn — (String)

        The ARN of the business report schedule.

Returns:

  • (AWS.Request)

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

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

Adds a new conference provider under the user's AWS account.

Service Reference:

Examples:

Calling the createConferenceProvider operation

var params = {
  ConferenceProviderName: 'STRING_VALUE', /* required */
  ConferenceProviderType: CHIME | BLUEJEANS | FUZE | GOOGLE_HANGOUTS | POLYCOM | RINGCENTRAL | SKYPE_FOR_BUSINESS | WEBEX | ZOOM | CUSTOM, /* required */
  MeetingSetting: { /* required */
    RequirePin: YES | NO | OPTIONAL /* required */
  },
  ClientRequestToken: 'STRING_VALUE',
  IPDialIn: {
    CommsProtocol: SIP | SIPS | H323, /* required */
    Endpoint: 'STRING_VALUE' /* required */
  },
  PSTNDialIn: {
    CountryCode: 'STRING_VALUE', /* required */
    OneClickIdDelay: 'STRING_VALUE', /* required */
    OneClickPinDelay: 'STRING_VALUE', /* required */
    PhoneNumber: 'STRING_VALUE' /* required */
  },
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createConferenceProvider(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: {})
    • ConferenceProviderName — (String)

      The name of the conference provider.

    • ConferenceProviderType — (String)

      Represents a type within a list of predefined types.

      Possible values include:
      • "CHIME"
      • "BLUEJEANS"
      • "FUZE"
      • "GOOGLE_HANGOUTS"
      • "POLYCOM"
      • "RINGCENTRAL"
      • "SKYPE_FOR_BUSINESS"
      • "WEBEX"
      • "ZOOM"
      • "CUSTOM"
    • IPDialIn — (map)

      The IP endpoint and protocol for calling.

      • Endpointrequired — (String)

        The IP address.

      • CommsProtocolrequired — (String)

        The protocol, including SIP, SIPS, and H323.

        Possible values include:
        • "SIP"
        • "SIPS"
        • "H323"
    • PSTNDialIn — (map)

      The information for PSTN conferencing.

      • CountryCoderequired — (String)

        The zip code.

      • PhoneNumberrequired — (String)

        The phone number to call to join the conference.

      • OneClickIdDelayrequired — (String)

        The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

      • OneClickPinDelayrequired — (String)

        The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

    • MeetingSetting — (map)

      The meeting settings for the conference provider.

      • RequirePinrequired — (String)

        The values that indicate whether the pin is always required.

        Possible values include:
        • "YES"
        • "NO"
        • "OPTIONAL"
    • ClientRequestToken — (String)

      The request token of the client.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • ConferenceProviderArn — (String)

        The ARN of the newly-created conference provider.

Returns:

  • (AWS.Request)

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

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

Creates a contact with the specified details.

Service Reference:

Examples:

Calling the createContact operation

var params = {
  FirstName: 'STRING_VALUE', /* required */
  ClientRequestToken: 'STRING_VALUE',
  DisplayName: 'STRING_VALUE',
  LastName: 'STRING_VALUE',
  PhoneNumber: 'STRING_VALUE',
  PhoneNumbers: [
    {
      Number: 'STRING_VALUE', /* required */
      Type: MOBILE | WORK | HOME /* required */
    },
    /* more items */
  ],
  SipAddresses: [
    {
      Type: WORK, /* required */
      Uri: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createContact(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: {})
    • DisplayName — (String)

      The name of the contact to display on the console.

    • FirstName — (String)

      The first name of the contact that is used to call the contact on the device.

    • LastName — (String)

      The last name of the contact that is used to call the contact on the device.

    • PhoneNumber — (String)

      The phone number of the contact in E.164 format. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

    • PhoneNumbers — (Array<map>)

      The list of phone numbers for the contact.

      • Numberrequired — (String)

        The raw value of the phone number.

      • Typerequired — (String)

        The type of the phone number.

        Possible values include:
        • "MOBILE"
        • "WORK"
        • "HOME"
    • SipAddresses — (Array<map>)

      The list of SIP addresses for the contact.

      • Urirequired — (String)

        The URI for the SIP address.

      • Typerequired — (String)

        The type of the SIP address.

        Possible values include:
        • "WORK"
    • ClientRequestToken — (String)

      A unique, user-specified identifier for this request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • ContactArn — (String)

        The ARN of the newly created address book.

Returns:

  • (AWS.Request)

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

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

Creates a gateway group with the specified details.

Service Reference:

Examples:

Calling the createGatewayGroup operation

var params = {
  ClientRequestToken: 'STRING_VALUE', /* required */
  Name: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createGatewayGroup(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: {})
    • Name — (String)

      The name of the gateway group.

    • Description — (String)

      The description of the gateway group.

    • ClientRequestToken — (String)

      A unique, user-specified identifier for the request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • GatewayGroupArn — (String)

        The ARN of the created gateway group.

Returns:

  • (AWS.Request)

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

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

Creates a network profile with the specified details.

Service Reference:

Examples:

Calling the createNetworkProfile operation

var params = {
  ClientRequestToken: 'STRING_VALUE', /* required */
  NetworkProfileName: 'STRING_VALUE', /* required */
  SecurityType: OPEN | WEP | WPA_PSK | WPA2_PSK | WPA2_ENTERPRISE, /* required */
  Ssid: 'STRING_VALUE', /* required */
  CertificateAuthorityArn: 'STRING_VALUE',
  CurrentPassword: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  EapMethod: EAP_TLS,
  NextPassword: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  TrustAnchors: [
    'STRING_VALUE',
    /* more items */
  ]
};
alexaforbusiness.createNetworkProfile(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: {})
    • NetworkProfileName — (String)

      The name of the network profile associated with a device.

    • Description — (String)

      Detailed information about a device's network profile.

    • Ssid — (String)

      The SSID of the Wi-Fi network.

    • SecurityType — (String)

      The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, WEP, or OPEN.

      Possible values include:
      • "OPEN"
      • "WEP"
      • "WPA_PSK"
      • "WPA2_PSK"
      • "WPA2_ENTERPRISE"
    • EapMethod — (String)

      The authentication standard that is used in the EAP framework. Currently, EAP_TLS is supported.

      Possible values include:
      • "EAP_TLS"
    • CurrentPassword — (String)

      The current password of the Wi-Fi network.

    • NextPassword — (String)

      The next, or subsequent, password of the Wi-Fi network. This password is asynchronously transmitted to the device and is used when the password of the network changes to NextPassword.

    • CertificateAuthorityArn — (String)

      The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM). This is used to issue certificates to the devices.

    • TrustAnchors — (Array<String>)

      The root certificates of your authentication server that is installed on your devices and used to trust your authentication server during EAP negotiation.

    • ClientRequestToken — (String)

      A unique, user-specified identifier for the request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • NetworkProfileArn — (String)

        The ARN of the network profile associated with a device.

Returns:

  • (AWS.Request)

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

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

Creates a new room profile with the specified details.

Service Reference:

Examples:

Calling the createProfile operation

var params = {
  Address: 'STRING_VALUE', /* required */
  DistanceUnit: METRIC | IMPERIAL, /* required */
  ProfileName: 'STRING_VALUE', /* required */
  TemperatureUnit: FAHRENHEIT | CELSIUS, /* required */
  Timezone: 'STRING_VALUE', /* required */
  WakeWord: ALEXA | AMAZON | ECHO | COMPUTER, /* required */
  ClientRequestToken: 'STRING_VALUE',
  DataRetentionOptIn: true || false,
  Locale: 'STRING_VALUE',
  MaxVolumeLimit: 'NUMBER_VALUE',
  MeetingRoomConfiguration: {
    EndOfMeetingReminder: {
      Enabled: true || false, /* required */
      ReminderAtMinutes: [ /* required */
        'NUMBER_VALUE',
        /* more items */
      ],
      ReminderType: ANNOUNCEMENT_TIME_CHECK | ANNOUNCEMENT_VARIABLE_TIME_LEFT | CHIME | KNOCK /* required */
    },
    InstantBooking: {
      DurationInMinutes: 'NUMBER_VALUE', /* required */
      Enabled: true || false /* required */
    },
    RequireCheckIn: {
      Enabled: true || false, /* required */
      ReleaseAfterMinutes: 'NUMBER_VALUE' /* required */
    },
    RoomUtilizationMetricsEnabled: true || false
  },
  PSTNEnabled: true || false,
  SetupModeDisabled: true || false,
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createProfile(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: {})
    • ProfileName — (String)

      The name of a room profile.

    • Timezone — (String)

      The time zone used by a room profile.

    • Address — (String)

      The valid address for the room.

    • DistanceUnit — (String)

      The distance unit to be used by devices in the profile.

      Possible values include:
      • "METRIC"
      • "IMPERIAL"
    • TemperatureUnit — (String)

      The temperature unit to be used by devices in the profile.

      Possible values include:
      • "FAHRENHEIT"
      • "CELSIUS"
    • WakeWord — (String)

      A wake word for Alexa, Echo, Amazon, or a computer.

      Possible values include:
      • "ALEXA"
      • "AMAZON"
      • "ECHO"
      • "COMPUTER"
    • Locale — (String)

      The locale of the room profile. (This is currently only available to a limited preview audience.)

    • ClientRequestToken — (String)

      The user-specified token that is used during the creation of a profile.

      If a token is not provided, the SDK will use a version 4 UUID.
    • SetupModeDisabled — (Boolean)

      Whether room profile setup is enabled.

    • MaxVolumeLimit — (Integer)

      The maximum volume limit for a room profile.

    • PSTNEnabled — (Boolean)

      Whether PSTN calling is enabled.

    • DataRetentionOptIn — (Boolean)

      Whether data retention of the profile is enabled.

    • MeetingRoomConfiguration — (map)

      The meeting room settings of a room profile.

      • RoomUtilizationMetricsEnabled — (Boolean)

        Whether room utilization metrics are enabled or not.

      • EndOfMeetingReminder — (map)

        Creates settings for the end of meeting reminder feature that are applied to a room profile. The end of meeting reminder enables Alexa to remind users when a meeting is ending.

        • ReminderAtMinutesrequired — (Array<Integer>)

          A range of 3 to 15 minutes that determines when the reminder begins.

        • ReminderTyperequired — (String)

          The type of sound that users hear during the end of meeting reminder.

          Possible values include:
          • "ANNOUNCEMENT_TIME_CHECK"
          • "ANNOUNCEMENT_VARIABLE_TIME_LEFT"
          • "CHIME"
          • "KNOCK"
        • Enabledrequired — (Boolean)

          Whether an end of meeting reminder is enabled or not.

      • InstantBooking — (map)

        Settings to automatically book a room for a configured duration if it's free when joining a meeting with Alexa.

        • DurationInMinutesrequired — (Integer)

          Duration between 15 and 240 minutes at increments of 15 that determines how long to book an available room when a meeting is started with Alexa.

        • Enabledrequired — (Boolean)

          Whether instant booking is enabled or not.

      • RequireCheckIn — (map)

        Settings for requiring a check in when a room is reserved. Alexa can cancel a room reservation if it's not checked into to make the room available for others. Users can check in by joining the meeting with Alexa or an AVS device, or by saying “Alexa, check in.”

        • ReleaseAfterMinutesrequired — (Integer)

          Duration between 5 and 20 minutes to determine when to release the room if it's not checked into.

        • Enabledrequired — (Boolean)

          Whether require check in is enabled or not.

    • Tags — (Array<map>)

      The tags for the profile.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • ProfileArn — (String)

        The ARN of the newly created room profile in the response.

Returns:

  • (AWS.Request)

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

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

Creates a room with the specified details.

Service Reference:

Examples:

Calling the createRoom operation

var params = {
  RoomName: 'STRING_VALUE', /* required */
  ClientRequestToken: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  ProfileArn: 'STRING_VALUE',
  ProviderCalendarId: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createRoom(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: {})
    • RoomName — (String)

      The name for the room.

    • Description — (String)

      The description for the room.

    • ProfileArn — (String)

      The profile ARN for the room. This is required.

    • ProviderCalendarId — (String)

      The calendar ARN for the room.

    • ClientRequestToken — (String)

      A unique, user-specified identifier for this request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags for the room.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • RoomArn — (String)

        The ARN of the newly created room in the response.

Returns:

  • (AWS.Request)

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

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

Creates a skill group with a specified name and description.

Service Reference:

Examples:

Calling the createSkillGroup operation

var params = {
  SkillGroupName: 'STRING_VALUE', /* required */
  ClientRequestToken: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createSkillGroup(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: {})
    • SkillGroupName — (String)

      The name for the skill group.

    • Description — (String)

      The description for the skill group.

    • ClientRequestToken — (String)

      A unique, user-specified identifier for this request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags for the skill group.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • SkillGroupArn — (String)

        The ARN of the newly created skill group in the response.

Returns:

  • (AWS.Request)

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

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

Creates a user.

Service Reference:

Examples:

Calling the createUser operation

var params = {
  UserId: 'STRING_VALUE', /* required */
  ClientRequestToken: 'STRING_VALUE',
  Email: 'STRING_VALUE',
  FirstName: 'STRING_VALUE',
  LastName: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.createUser(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: {})
    • UserId — (String)

      The ARN for the user.

    • FirstName — (String)

      The first name for the user.

    • LastName — (String)

      The last name for the user.

    • Email — (String)

      The email address for the user.

    • ClientRequestToken — (String)

      A unique, user-specified identifier for this request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.
    • Tags — (Array<map>)

      The tags for the user.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • UserArn — (String)

        The ARN of the newly created user in the response.

Returns:

  • (AWS.Request)

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

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

Deletes an address book by the address book ARN.

Service Reference:

Examples:

Calling the deleteAddressBook operation

var params = {
  AddressBookArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteAddressBook(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: {})
    • AddressBookArn — (String)

      The ARN of the address book 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.

Returns:

  • (AWS.Request)

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

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

Deletes the recurring report delivery schedule with the specified schedule ARN.

Service Reference:

Examples:

Calling the deleteBusinessReportSchedule operation

var params = {
  ScheduleArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteBusinessReportSchedule(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: {})
    • ScheduleArn — (String)

      The ARN of the business report schedule.

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.

Returns:

  • (AWS.Request)

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

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

Deletes a conference provider.

Service Reference:

Examples:

Calling the deleteConferenceProvider operation

var params = {
  ConferenceProviderArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteConferenceProvider(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: {})
    • ConferenceProviderArn — (String)

      The ARN of the conference provider.

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.

Returns:

  • (AWS.Request)

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

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

Deletes a contact by the contact ARN.

Service Reference:

Examples:

Calling the deleteContact operation

var params = {
  ContactArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteContact(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: {})
    • ContactArn — (String)

      The ARN of the contact 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.

Returns:

  • (AWS.Request)

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

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

Removes a device from Alexa For Business.

Service Reference:

Examples:

Calling the deleteDevice operation

var params = {
  DeviceArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteDevice(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: {})
    • DeviceArn — (String)

      The ARN of the device for which to request details.

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.

Returns:

  • (AWS.Request)

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

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

When this action is called for a specified shared device, it allows authorized users to delete the device's entire previous history of voice input data and associated response data. This action can be called once every 24 hours for a specific shared device.

Service Reference:

Examples:

Calling the deleteDeviceUsageData operation

var params = {
  DeviceArn: 'STRING_VALUE', /* required */
  DeviceUsageType: VOICE /* required */
};
alexaforbusiness.deleteDeviceUsageData(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: {})
    • DeviceArn — (String)

      The ARN of the device.

    • DeviceUsageType — (String)

      The type of usage data to delete.

      Possible values include:
      • "VOICE"

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.

Returns:

  • (AWS.Request)

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

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

Deletes a gateway group.

Service Reference:

Examples:

Calling the deleteGatewayGroup operation

var params = {
  GatewayGroupArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteGatewayGroup(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: {})
    • GatewayGroupArn — (String)

      The ARN of the gateway group 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.

Returns:

  • (AWS.Request)

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

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

Deletes a network profile by the network profile ARN.

Service Reference:

Examples:

Calling the deleteNetworkProfile operation

var params = {
  NetworkProfileArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.deleteNetworkProfile(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: {})
    • NetworkProfileArn — (String)

      The ARN of the network profile associated with a device.

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.

Returns:

  • (AWS.Request)

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

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

Deletes a room profile by the profile ARN.

Service Reference:

Examples:

Calling the deleteProfile operation

var params = {
  ProfileArn: 'STRING_VALUE'
};
alexaforbusiness.deleteProfile(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: {})
    • ProfileArn — (String)

      The ARN of the room profile to delete. Required.

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.

Returns:

  • (AWS.Request)

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

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

Deletes a room by the room ARN.

Service Reference:

Examples:

Calling the deleteRoom operation

var params = {
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.deleteRoom(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: {})
    • RoomArn — (String)

      The ARN of the room to delete. Required.

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.

Returns:

  • (AWS.Request)

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

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

Deletes room skill parameter details by room, skill, and parameter key ID.

Service Reference:

Examples:

Calling the deleteRoomSkillParameter operation

var params = {
  ParameterKey: 'STRING_VALUE', /* required */
  SkillId: 'STRING_VALUE', /* required */
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.deleteRoomSkillParameter(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: {})
    • RoomArn — (String)

      The ARN of the room from which to remove the room skill parameter details.

    • SkillId — (String)

      The ID of the skill from which to remove the room skill parameter details.

    • ParameterKey — (String)

      The room skill parameter key for which to remove details.

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.

Returns:

  • (AWS.Request)

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

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

Unlinks a third-party account from a skill.

Service Reference:

Examples:

Calling the deleteSkillAuthorization operation

var params = {
  SkillId: 'STRING_VALUE', /* required */
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.deleteSkillAuthorization(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: {})
    • SkillId — (String)

      The unique identifier of a skill.

    • RoomArn — (String)

      The room that the skill is authorized for.

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.

Returns:

  • (AWS.Request)

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

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

Deletes a skill group by skill group ARN.

Service Reference:

Examples:

Calling the deleteSkillGroup operation

var params = {
  SkillGroupArn: 'STRING_VALUE'
};
alexaforbusiness.deleteSkillGroup(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group to delete. Required.

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.

Returns:

  • (AWS.Request)

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

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

Deletes a specified user by user ARN and enrollment ARN.

Service Reference:

Examples:

Calling the deleteUser operation

var params = {
  EnrollmentId: 'STRING_VALUE', /* required */
  UserArn: 'STRING_VALUE'
};
alexaforbusiness.deleteUser(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: {})
    • UserArn — (String)

      The ARN of the user to delete in the organization. Required.

    • EnrollmentId — (String)

      The ARN of the user's enrollment in the organization. Required.

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.

Returns:

  • (AWS.Request)

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

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

Disassociates a contact from a given address book.

Examples:

Calling the disassociateContactFromAddressBook operation

var params = {
  AddressBookArn: 'STRING_VALUE', /* required */
  ContactArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.disassociateContactFromAddressBook(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: {})
    • ContactArn — (String)

      The ARN of the contact to disassociate from an address book.

    • AddressBookArn — (String)

      The ARN of the address from which to disassociate the contact.

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.

Returns:

  • (AWS.Request)

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

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

Disassociates a device from its current room. The device continues to be connected to the Wi-Fi network and is still registered to the account. The device settings and skills are removed from the room.

Service Reference:

Examples:

Calling the disassociateDeviceFromRoom operation

var params = {
  DeviceArn: 'STRING_VALUE'
};
alexaforbusiness.disassociateDeviceFromRoom(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: {})
    • DeviceArn — (String)

      The ARN of the device to disassociate from a room. Required.

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.

Returns:

  • (AWS.Request)

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

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

Disassociates a skill from a skill group.

Service Reference:

Examples:

Calling the disassociateSkillFromSkillGroup operation

var params = {
  SkillId: 'STRING_VALUE', /* required */
  SkillGroupArn: 'STRING_VALUE'
};
alexaforbusiness.disassociateSkillFromSkillGroup(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: {})
    • SkillGroupArn — (String)

      The unique identifier of a skill. Required.

    • SkillId — (String)

      The ARN of a skill group to associate to a skill.

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.

Returns:

  • (AWS.Request)

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

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

Makes a private skill unavailable for enrolled users and prevents them from enabling it on their devices.

Service Reference:

Examples:

Calling the disassociateSkillFromUsers operation

var params = {
  SkillId: 'STRING_VALUE' /* required */
};
alexaforbusiness.disassociateSkillFromUsers(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: {})
    • SkillId — (String)

      The private skill ID you want to make unavailable for enrolled users.

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.

Returns:

  • (AWS.Request)

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

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

Disassociates a skill group from a specified room. This disables all skills in the skill group on all devices in the room.

Service Reference:

Examples:

Calling the disassociateSkillGroupFromRoom operation

var params = {
  RoomArn: 'STRING_VALUE',
  SkillGroupArn: 'STRING_VALUE'
};
alexaforbusiness.disassociateSkillGroupFromRoom(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group to disassociate from a room. Required.

    • RoomArn — (String)

      The ARN of the room from which the skill group is to be disassociated. Required.

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.

Returns:

  • (AWS.Request)

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

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

Forgets smart home appliances associated to a room.

Service Reference:

Examples:

Calling the forgetSmartHomeAppliances operation

var params = {
  RoomArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.forgetSmartHomeAppliances(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: {})
    • RoomArn — (String)

      The room that the appliances are associated with.

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.

Returns:

  • (AWS.Request)

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

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

Gets address the book details by the address book ARN.

Service Reference:

Examples:

Calling the getAddressBook operation

var params = {
  AddressBookArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.getAddressBook(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: {})
    • AddressBookArn — (String)

      The ARN of the address book for which to request details.

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:

      • AddressBook — (map)

        The details of the requested address book.

        • AddressBookArn — (String)

          The ARN of the address book.

        • Name — (String)

          The name of the address book.

        • Description — (String)

          The description of the address book.

Returns:

  • (AWS.Request)

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

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

Retrieves the existing conference preferences.

Service Reference:

Examples:

Calling the getConferencePreference operation

var params = {
};
alexaforbusiness.getConferencePreference(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: {})

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:

      • Preference — (map)

        The conference preference.

        • DefaultConferenceProviderArn — (String)

          The ARN of the default conference provider.

Returns:

  • (AWS.Request)

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

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

Gets details about a specific conference provider.

Service Reference:

Examples:

Calling the getConferenceProvider operation

var params = {
  ConferenceProviderArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.getConferenceProvider(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: {})
    • ConferenceProviderArn — (String)

      The ARN of the newly created conference provider.

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:

      • ConferenceProvider — (map)

        The conference provider.

        • Arn — (String)

          The ARN of the newly created conference provider.

        • Name — (String)

          The name of the conference provider.

        • Type — (String)

          The type of conference providers.

          Possible values include:
          • "CHIME"
          • "BLUEJEANS"
          • "FUZE"
          • "GOOGLE_HANGOUTS"
          • "POLYCOM"
          • "RINGCENTRAL"
          • "SKYPE_FOR_BUSINESS"
          • "WEBEX"
          • "ZOOM"
          • "CUSTOM"
        • IPDialIn — (map)

          The IP endpoint and protocol for calling.

          • Endpointrequired — (String)

            The IP address.

          • CommsProtocolrequired — (String)

            The protocol, including SIP, SIPS, and H323.

            Possible values include:
            • "SIP"
            • "SIPS"
            • "H323"
        • PSTNDialIn — (map)

          The information for PSTN conferencing.

          • CountryCoderequired — (String)

            The zip code.

          • PhoneNumberrequired — (String)

            The phone number to call to join the conference.

          • OneClickIdDelayrequired — (String)

            The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

          • OneClickPinDelayrequired — (String)

            The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

        • MeetingSetting — (map)

          The meeting settings for the conference provider.

          • RequirePinrequired — (String)

            The values that indicate whether the pin is always required.

            Possible values include:
            • "YES"
            • "NO"
            • "OPTIONAL"

Returns:

  • (AWS.Request)

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

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

Gets the contact details by the contact ARN.

Service Reference:

Examples:

Calling the getContact operation

var params = {
  ContactArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.getContact(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: {})
    • ContactArn — (String)

      The ARN of the contact for which to request details.

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:

      • Contact — (map)

        The details of the requested contact.

        • ContactArn — (String)

          The ARN of the contact.

        • DisplayName — (String)

          The name of the contact to display on the console.

        • FirstName — (String)

          The first name of the contact, used to call the contact on the device.

        • LastName — (String)

          The last name of the contact, used to call the contact on the device.

        • PhoneNumber — (String)

          The phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

        • PhoneNumbers — (Array<map>)

          The list of phone numbers for the contact.

          • Numberrequired — (String)

            The raw value of the phone number.

          • Typerequired — (String)

            The type of the phone number.

            Possible values include:
            • "MOBILE"
            • "WORK"
            • "HOME"
        • SipAddresses — (Array<map>)

          The list of SIP addresses for the contact.

          • Urirequired — (String)

            The URI for the SIP address.

          • Typerequired — (String)

            The type of the SIP address.

            Possible values include:
            • "WORK"

Returns:

  • (AWS.Request)

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

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

Gets the details of a device by device ARN.

Service Reference:

Examples:

Calling the getDevice operation

var params = {
  DeviceArn: 'STRING_VALUE'
};
alexaforbusiness.getDevice(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: {})
    • DeviceArn — (String)

      The ARN of the device for which to request details. Required.

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:

      • Device — (map)

        The details of the device requested. Required.

        • DeviceArn — (String)

          The ARN of a device.

        • DeviceSerialNumber — (String)

          The serial number of a device.

        • DeviceType — (String)

          The type of a device.

        • DeviceName — (String)

          The name of a device.

        • SoftwareVersion — (String)

          The software version of a device.

        • MacAddress — (String)

          The MAC address of a device.

        • RoomArn — (String)

          The room ARN of a device.

        • DeviceStatus — (String)

          The status of a device. If the status is not READY, check the DeviceStatusInfo value for details.

          Possible values include:
          • "READY"
          • "PENDING"
          • "WAS_OFFLINE"
          • "DEREGISTERED"
          • "FAILED"
        • DeviceStatusInfo — (map)

          Detailed information about a device's status.

          • DeviceStatusDetails — (Array<map>)

            One or more device status detail descriptions.

            • Feature — (String)

              The list of available features on the device.

              Possible values include:
              • "BLUETOOTH"
              • "VOLUME"
              • "NOTIFICATIONS"
              • "LISTS"
              • "SKILLS"
              • "NETWORK_PROFILE"
              • "SETTINGS"
              • "ALL"
            • Code — (String)

              The device status detail code.

              Possible values include:
              • "DEVICE_SOFTWARE_UPDATE_NEEDED"
              • "DEVICE_WAS_OFFLINE"
              • "CREDENTIALS_ACCESS_FAILURE"
              • "TLS_VERSION_MISMATCH"
              • "ASSOCIATION_REJECTION"
              • "AUTHENTICATION_FAILURE"
              • "DHCP_FAILURE"
              • "INTERNET_UNAVAILABLE"
              • "DNS_FAILURE"
              • "UNKNOWN_FAILURE"
              • "CERTIFICATE_ISSUING_LIMIT_EXCEEDED"
              • "INVALID_CERTIFICATE_AUTHORITY"
              • "NETWORK_PROFILE_NOT_FOUND"
              • "INVALID_PASSWORD_STATE"
              • "PASSWORD_NOT_FOUND"
              • "PASSWORD_MANAGER_ACCESS_DENIED"
              • "CERTIFICATE_AUTHORITY_ACCESS_DENIED"
          • ConnectionStatus — (String)

            The latest available information about the connection status of a device.

            Possible values include:
            • "ONLINE"
            • "OFFLINE"
          • ConnectionStatusUpdatedTime — (Date)

            The time (in epoch) when the device connection status changed.

        • NetworkProfileInfo — (map)

          Detailed information about a device's network profile.

          • NetworkProfileArn — (String)

            The ARN of the network profile associated with a device.

          • CertificateArn — (String)

            The ARN of the certificate associated with a device.

          • CertificateExpirationTime — (Date)

            The time (in epoch) when the certificate expires.

Returns:

  • (AWS.Request)

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

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

Retrieves the details of a gateway.

Service Reference:

Examples:

Calling the getGateway operation

var params = {
  GatewayArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.getGateway(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: {})
    • GatewayArn — (String)

      The ARN of the gateway to get.

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:

      • Gateway — (map)

        The details of the gateway.

        • Arn — (String)

          The ARN of the gateway.

        • Name — (String)

          The name of the gateway.

        • Description — (String)

          The description of the gateway.

        • GatewayGroupArn — (String)

          The ARN of the gateway group that the gateway is associated to.

        • SoftwareVersion — (String)

          The software version of the gateway. The gateway automatically updates its software version during normal operation.

Returns:

  • (AWS.Request)

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

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

Retrieves the details of a gateway group.

Service Reference:

Examples:

Calling the getGatewayGroup operation

var params = {
  GatewayGroupArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.getGatewayGroup(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: {})
    • GatewayGroupArn — (String)

      The ARN of the gateway group to get.

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:

      • GatewayGroup — (map)

        The details of the gateway group.

        • Arn — (String)

          The ARN of the gateway group.

        • Name — (String)

          The name of the gateway group.

        • Description — (String)

          The description of the gateway group.

Returns:

  • (AWS.Request)

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

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

Retrieves the configured values for the user enrollment invitation email template.

Service Reference:

Examples:

Calling the getInvitationConfiguration operation

var params = {
};
alexaforbusiness.getInvitationConfiguration(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: {})

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:

      • OrganizationName — (String)

        The name of the organization sending the enrollment invite to a user.

      • ContactEmail — (String)

        The email ID of the organization or individual contact that the enrolled user can use.

      • PrivateSkillIds — (Array<String>)

        The list of private skill IDs that you want to recommend to the user to enable in the invitation.

Returns:

  • (AWS.Request)

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

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

Gets the network profile details by the network profile ARN.

Service Reference:

Examples:

Calling the getNetworkProfile operation

var params = {
  NetworkProfileArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.getNetworkProfile(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: {})
    • NetworkProfileArn — (String)

      The ARN of the network profile associated with a device.

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:

      • NetworkProfile — (map)

        The network profile associated with a device.

        • NetworkProfileArn — (String)

          The ARN of the network profile associated with a device.

        • NetworkProfileName — (String)

          The name of the network profile associated with a device.

        • Description — (String)

          Detailed information about a device's network profile.

        • Ssid — (String)

          The SSID of the Wi-Fi network.

        • SecurityType — (String)

          The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, WEP, or OPEN.

          Possible values include:
          • "OPEN"
          • "WEP"
          • "WPA_PSK"
          • "WPA2_PSK"
          • "WPA2_ENTERPRISE"
        • EapMethod — (String)

          The authentication standard that is used in the EAP framework. Currently, EAP_TLS is supported.

          Possible values include:
          • "EAP_TLS"
        • CurrentPassword — (String)

          The current password of the Wi-Fi network.

        • NextPassword — (String)

          The next, or subsequent, password of the Wi-Fi network. This password is asynchronously transmitted to the device and is used when the password of the network changes to NextPassword.

        • CertificateAuthorityArn — (String)

          The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM). This is used to issue certificates to the devices.

        • TrustAnchors — (Array<String>)

          The root certificates of your authentication server, which is installed on your devices and used to trust your authentication server during EAP negotiation.

Returns:

  • (AWS.Request)

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

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

Gets the details of a room profile by profile ARN.

Service Reference:

Examples:

Calling the getProfile operation

var params = {
  ProfileArn: 'STRING_VALUE'
};
alexaforbusiness.getProfile(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: {})
    • ProfileArn — (String)

      The ARN of the room profile for which to request details. Required.

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:

      • Profile — (map)

        The details of the room profile requested. Required.

        • ProfileArn — (String)

          The ARN of a room profile.

        • ProfileName — (String)

          The name of a room profile.

        • IsDefault — (Boolean)

          Retrieves if the profile is default or not.

        • Address — (String)

          The address of a room profile.

        • Timezone — (String)

          The time zone of a room profile.

        • DistanceUnit — (String)

          The distance unit of a room profile.

          Possible values include:
          • "METRIC"
          • "IMPERIAL"
        • TemperatureUnit — (String)

          The temperature unit of a room profile.

          Possible values include:
          • "FAHRENHEIT"
          • "CELSIUS"
        • WakeWord — (String)

          The wake word of a room profile.

          Possible values include:
          • "ALEXA"
          • "AMAZON"
          • "ECHO"
          • "COMPUTER"
        • Locale — (String)

          The locale of a room profile. (This is currently available only to a limited preview audience.)

        • SetupModeDisabled — (Boolean)

          The setup mode of a room profile.

        • MaxVolumeLimit — (Integer)

          The max volume limit of a room profile.

        • PSTNEnabled — (Boolean)

          The PSTN setting of a room profile.

        • DataRetentionOptIn — (Boolean)

          Whether data retention of the profile is enabled.

        • AddressBookArn — (String)

          The ARN of the address book.

        • MeetingRoomConfiguration — (map)

          Meeting room settings of a room profile.

          • RoomUtilizationMetricsEnabled — (Boolean)

            Whether room utilization metrics are enabled or not.

          • EndOfMeetingReminder — (map)

            Settings for the end of meeting reminder feature that are applied to a room profile. The end of meeting reminder enables Alexa to remind users when a meeting is ending.

            • ReminderAtMinutes — (Array<Integer>)

              A range of 3 to 15 minutes that determines when the reminder begins.

            • ReminderType — (String)

              The type of sound that users hear during the end of meeting reminder.

              Possible values include:
              • "ANNOUNCEMENT_TIME_CHECK"
              • "ANNOUNCEMENT_VARIABLE_TIME_LEFT"
              • "CHIME"
              • "KNOCK"
            • Enabled — (Boolean)

              Whether an end of meeting reminder is enabled or not.

          • InstantBooking — (map)

            Settings to automatically book the room if available for a configured duration when joining a meeting with Alexa.

            • DurationInMinutes — (Integer)

              Duration between 15 and 240 minutes at increments of 15 that determines how long to book an available room when a meeting is started with Alexa.

            • Enabled — (Boolean)

              Whether instant booking is enabled or not.

          • RequireCheckIn — (map)

            Settings for requiring a check in when a room is reserved. Alexa can cancel a room reservation if it's not checked into. This makes the room available for others. Users can check in by joining the meeting with Alexa or an AVS device, or by saying “Alexa, check in.”

            • ReleaseAfterMinutes — (Integer)

              Duration between 5 and 20 minutes to determine when to release the room if it's not checked into.

            • Enabled — (Boolean)

              Whether require check in is enabled or not.

Returns:

  • (AWS.Request)

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

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

Gets room details by room ARN.

Service Reference:

Examples:

Calling the getRoom operation

var params = {
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.getRoom(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: {})
    • RoomArn — (String)

      The ARN of the room for which to request details. Required.

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:

      • Room — (map)

        The details of the room requested.

        • RoomArn — (String)

          The ARN of a room.

        • RoomName — (String)

          The name of a room.

        • Description — (String)

          The description of a room.

        • ProviderCalendarId — (String)

          The provider calendar ARN of a room.

        • ProfileArn — (String)

          The profile ARN of a room.

Returns:

  • (AWS.Request)

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

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

Gets room skill parameter details by room, skill, and parameter key ARN.

Service Reference:

Examples:

Calling the getRoomSkillParameter operation

var params = {
  ParameterKey: 'STRING_VALUE', /* required */
  SkillId: 'STRING_VALUE', /* required */
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.getRoomSkillParameter(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: {})
    • RoomArn — (String)

      The ARN of the room from which to get the room skill parameter details.

    • SkillId — (String)

      The ARN of the skill from which to get the room skill parameter details. Required.

    • ParameterKey — (String)

      The room skill parameter key for which to get details. Required.

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:

      • RoomSkillParameter — (map)

        The details of the room skill parameter requested. Required.

        • ParameterKeyrequired — (String)

          The parameter key of a room skill parameter. ParameterKey is an enumerated type that only takes “DEFAULT” or “SCOPE” as valid values.

        • ParameterValuerequired — (String)

          The parameter value of a room skill parameter.

Returns:

  • (AWS.Request)

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

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

Gets skill group details by skill group ARN.

Service Reference:

Examples:

Calling the getSkillGroup operation

var params = {
  SkillGroupArn: 'STRING_VALUE'
};
alexaforbusiness.getSkillGroup(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group for which to get details. Required.

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:

      • SkillGroup — (map)

        The details of the skill group requested. Required.

        • SkillGroupArn — (String)

          The ARN of a skill group.

        • SkillGroupName — (String)

          The name of a skill group.

        • Description — (String)

          The description of a skill group.

Returns:

  • (AWS.Request)

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

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

Lists the details of the schedules that a user configured. A download URL of the report associated with each schedule is returned every time this action is called. A new download URL is returned each time, and is valid for 24 hours.

Service Reference:

Examples:

Calling the listBusinessReportSchedules operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listBusinessReportSchedules(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: {})
    • NextToken — (String)

      The token used to list the remaining schedules from the previous API call.

    • MaxResults — (Integer)

      The maximum number of schedules listed in the call.

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:

      • BusinessReportSchedules — (Array<map>)

        The schedule of the reports.

        • ScheduleArn — (String)

          The ARN of the business report schedule.

        • ScheduleName — (String)

          The name identifier of the schedule.

        • S3BucketName — (String)

          The S3 bucket name of the output reports.

        • S3KeyPrefix — (String)

          The S3 key where the report is delivered.

        • Format — (String)

          The format of the generated report (individual CSV files or zipped files of individual files).

          Possible values include:
          • "CSV"
          • "CSV_ZIP"
        • ContentRange — (map)

          The content range of the reports.

          • Intervalrequired — (String)

            The interval of the content range.

            Possible values include:
            • "ONE_DAY"
            • "ONE_WEEK"
            • "THIRTY_DAYS"
        • Recurrence — (map)

          The recurrence of the reports.

          • StartDate — (String)

            The start date.

        • LastBusinessReport — (map)

          The details of the last business report delivery for a specified time interval.

          • Status — (String)

            The status of the report generation execution (RUNNING, SUCCEEDED, or FAILED).

            Possible values include:
            • "RUNNING"
            • "SUCCEEDED"
            • "FAILED"
          • FailureCode — (String)

            The failure code.

            Possible values include:
            • "ACCESS_DENIED"
            • "NO_SUCH_BUCKET"
            • "INTERNAL_FAILURE"
          • S3Location — (map)

            The S3 location of the output reports.

            • Path — (String)

              The path of the business report.

            • BucketName — (String)

              The S3 bucket name of the output reports.

          • DeliveryTime — (Date)

            The time of report delivery.

          • DownloadUrl — (String)

            The download link where a user can download the report.

      • NextToken — (String)

        The token used to list the remaining schedules from the previous API call.

Returns:

  • (AWS.Request)

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

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

Lists conference providers under a specific AWS account.

Service Reference:

Examples:

Calling the listConferenceProviders operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listConferenceProviders(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: {})
    • NextToken — (String)

      The tokens used for pagination.

    • MaxResults — (Integer)

      The maximum number of conference providers to be returned, per paginated calls.

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:

      • ConferenceProviders — (Array<map>)

        The conference providers.

        • Arn — (String)

          The ARN of the newly created conference provider.

        • Name — (String)

          The name of the conference provider.

        • Type — (String)

          The type of conference providers.

          Possible values include:
          • "CHIME"
          • "BLUEJEANS"
          • "FUZE"
          • "GOOGLE_HANGOUTS"
          • "POLYCOM"
          • "RINGCENTRAL"
          • "SKYPE_FOR_BUSINESS"
          • "WEBEX"
          • "ZOOM"
          • "CUSTOM"
        • IPDialIn — (map)

          The IP endpoint and protocol for calling.

          • Endpointrequired — (String)

            The IP address.

          • CommsProtocolrequired — (String)

            The protocol, including SIP, SIPS, and H323.

            Possible values include:
            • "SIP"
            • "SIPS"
            • "H323"
        • PSTNDialIn — (map)

          The information for PSTN conferencing.

          • CountryCoderequired — (String)

            The zip code.

          • PhoneNumberrequired — (String)

            The phone number to call to join the conference.

          • OneClickIdDelayrequired — (String)

            The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

          • OneClickPinDelayrequired — (String)

            The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

        • MeetingSetting — (map)

          The meeting settings for the conference provider.

          • RequirePinrequired — (String)

            The values that indicate whether the pin is always required.

            Possible values include:
            • "YES"
            • "NO"
            • "OPTIONAL"
      • NextToken — (String)

        The tokens used for pagination.

Returns:

  • (AWS.Request)

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

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

Lists the device event history, including device connection status, for up to 30 days.

Service Reference:

Examples:

Calling the listDeviceEvents operation

var params = {
  DeviceArn: 'STRING_VALUE', /* required */
  EventType: CONNECTION_STATUS | DEVICE_STATUS,
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listDeviceEvents(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: {})
    • DeviceArn — (String)

      The ARN of a device.

    • EventType — (String)

      The event type to filter device events. If EventType isn't specified, this returns a list of all device events in reverse chronological order. If EventType is specified, this returns a list of device events for that EventType in reverse chronological order.

      Possible values include:
      • "CONNECTION_STATUS"
      • "DEVICE_STATUS"
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults. When the end of results is reached, the response has a value of null.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. The default value is 50. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

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:

      • DeviceEvents — (Array<map>)

        The device events requested for the device ARN.

        • Type — (String)

          The type of device event.

          Possible values include:
          • "CONNECTION_STATUS"
          • "DEVICE_STATUS"
        • Value — (String)

          The value of the event.

        • Timestamp — (Date)

          The time (in epoch) when the event occurred.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

Returns:

  • (AWS.Request)

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

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

Retrieves a list of gateway group summaries. Use GetGatewayGroup to retrieve details of a specific gateway group.

Service Reference:

Examples:

Calling the listGatewayGroups operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listGatewayGroups(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: {})
    • NextToken — (String)

      The token used to paginate though multiple pages of gateway group summaries.

    • MaxResults — (Integer)

      The maximum number of gateway group summaries to return. The default is 50.

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:

      • GatewayGroups — (Array<map>)

        The gateway groups in the list.

        • Arn — (String)

          The ARN of the gateway group.

        • Name — (String)

          The name of the gateway group.

        • Description — (String)

          The description of the gateway group.

      • NextToken — (String)

        The token used to paginate though multiple pages of gateway group summaries.

Returns:

  • (AWS.Request)

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

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

Retrieves a list of gateway summaries. Use GetGateway to retrieve details of a specific gateway. An optional gateway group ARN can be provided to only retrieve gateway summaries of gateways that are associated with that gateway group ARN.

Service Reference:

Examples:

Calling the listGateways operation

var params = {
  GatewayGroupArn: 'STRING_VALUE',
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listGateways(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: {})
    • GatewayGroupArn — (String)

      The gateway group ARN for which to list gateways.

    • NextToken — (String)

      The token used to paginate though multiple pages of gateway summaries.

    • MaxResults — (Integer)

      The maximum number of gateway summaries to return. The default is 50.

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:

      • Gateways — (Array<map>)

        The gateways in the list.

        • Arn — (String)

          The ARN of the gateway.

        • Name — (String)

          The name of the gateway.

        • Description — (String)

          The description of the gateway.

        • GatewayGroupArn — (String)

          The ARN of the gateway group that the gateway is associated to.

        • SoftwareVersion — (String)

          The software version of the gateway. The gateway automatically updates its software version during normal operation.

      • NextToken — (String)

        The token used to paginate though multiple pages of gateway summaries.

Returns:

  • (AWS.Request)

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

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

Lists all enabled skills in a specific skill group.

Service Reference:

Examples:

Calling the listSkills operation

var params = {
  EnablementType: ENABLED | PENDING,
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SkillGroupArn: 'STRING_VALUE',
  SkillType: PUBLIC | PRIVATE | ALL
};
alexaforbusiness.listSkills(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group for which to list enabled skills.

    • EnablementType — (String)

      Whether the skill is enabled under the user's account.

      Possible values include:
      • "ENABLED"
      • "PENDING"
    • SkillType — (String)

      Whether the skill is publicly available or is a private skill.

      Possible values include:
      • "PUBLIC"
      • "PRIVATE"
      • "ALL"
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

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:

      • SkillSummaries — (Array<map>)

        The list of enabled skills requested. Required.

        • SkillId — (String)

          The ARN of the skill summary.

        • SkillName — (String)

          The name of the skill.

        • SupportsLinking — (Boolean)

          Linking support for a skill.

        • EnablementType — (String)

          Whether the skill is enabled under the user's account, or if it requires linking to be used.

          Possible values include:
          • "ENABLED"
          • "PENDING"
        • SkillType — (String)

          Whether the skill is publicly available or is a private skill.

          Possible values include:
          • "PUBLIC"
          • "PRIVATE"
      • NextToken — (String)

        The token returned to indicate that there is more data available.

Returns:

  • (AWS.Request)

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

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

Lists all categories in the Alexa skill store.

Service Reference:

Examples:

Calling the listSkillsStoreCategories operation

var params = {
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listSkillsStoreCategories(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: {})
    • NextToken — (String)

      The tokens used for pagination.

    • MaxResults — (Integer)

      The maximum number of categories returned, per paginated calls.

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:

      • CategoryList — (Array<map>)

        The list of categories.

        • CategoryId — (Integer)

          The ID of the skill store category.

        • CategoryName — (String)

          The name of the skill store category.

      • NextToken — (String)

        The tokens used for pagination.

Returns:

  • (AWS.Request)

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

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

Lists all skills in the Alexa skill store by category.

Service Reference:

Examples:

Calling the listSkillsStoreSkillsByCategory operation

var params = {
  CategoryId: 'NUMBER_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listSkillsStoreSkillsByCategory(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: {})
    • CategoryId — (Integer)

      The category ID for which the skills are being retrieved from the skill store.

    • NextToken — (String)

      The tokens used for pagination.

    • MaxResults — (Integer)

      The maximum number of skills returned per paginated calls.

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:

      • SkillsStoreSkills — (Array<map>)

        The skill store skills.

        • SkillId — (String)

          The ARN of the skill.

        • SkillName — (String)

          The name of the skill.

        • ShortDescription — (String)

          Short description about the skill.

        • IconUrl — (String)

          The URL where the skill icon resides.

        • SampleUtterances — (Array<String>)

          Sample utterances that interact with the skill.

        • SkillDetails — (map)

          Information about the skill.

          • ProductDescription — (String)

            The description of the product.

          • InvocationPhrase — (String)

            The phrase used to trigger the skill.

          • ReleaseDate — (String)

            The date when the skill was released.

          • EndUserLicenseAgreement — (String)

            The URL of the end user license agreement.

          • GenericKeywords — (Array<String>)

            The generic keywords associated with the skill that can be used to find a skill.

          • BulletPoints — (Array<String>)

            The details about what the skill supports organized as bullet points.

          • NewInThisVersionBulletPoints — (Array<String>)

            The updates added in bullet points.

          • SkillTypes — (Array<String>)

            The types of skills.

          • Reviews — (map<String>)

            This member has been deprecated.

            The list of reviews for the skill, including Key and Value pair.

          • DeveloperInfo — (map)

            The details about the developer that published the skill.

            • DeveloperName — (String)

              The name of the developer.

            • PrivacyPolicy — (String)

              The URL of the privacy policy.

            • Email — (String)

              The email of the developer.

            • Url — (String)

              The website of the developer.

        • SupportsLinking — (Boolean)

          Linking support for a skill.

      • NextToken — (String)

        The tokens used for pagination.

Returns:

  • (AWS.Request)

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

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

Lists all of the smart home appliances associated with a room.

Service Reference:

Examples:

Calling the listSmartHomeAppliances operation

var params = {
  RoomArn: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listSmartHomeAppliances(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: {})
    • RoomArn — (String)

      The room that the appliances are associated with.

    • MaxResults — (Integer)

      The maximum number of appliances to be returned, per paginated calls.

    • NextToken — (String)

      The tokens used for pagination.

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:

      • SmartHomeAppliances — (Array<map>)

        The smart home appliances.

        • FriendlyName — (String)

          The friendly name of the smart home appliance.

        • Description — (String)

          The description of the smart home appliance.

        • ManufacturerName — (String)

          The name of the manufacturer of the smart home appliance.

      • NextToken — (String)

        The tokens used for pagination.

Returns:

  • (AWS.Request)

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

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

Lists all tags for the specified resource.

Service Reference:

Examples:

Calling the listTags operation

var params = {
  Arn: 'STRING_VALUE', /* required */
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE'
};
alexaforbusiness.listTags(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: {})
    • Arn — (String)

      The ARN of the specified resource for which to list tags.

    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

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:

      • Tags — (Array<map>)

        The tags requested for the specified resource.

        • Keyrequired — (String)

          The key of a tag. Tag keys are case-sensitive.

        • Valuerequired — (String)

          The value of a tag. Tag values are case sensitive and can be null.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

Returns:

  • (AWS.Request)

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

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

Sets the conference preferences on a specific conference provider at the account level.

Service Reference:

Examples:

Calling the putConferencePreference operation

var params = {
  ConferencePreference: { /* required */
    DefaultConferenceProviderArn: 'STRING_VALUE'
  }
};
alexaforbusiness.putConferencePreference(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: {})
    • ConferencePreference — (map)

      The conference preference of a specific conference provider.

      • DefaultConferenceProviderArn — (String)

        The ARN of the default conference provider.

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.

Returns:

  • (AWS.Request)

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

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

Configures the email template for the user enrollment invitation with the specified attributes.

Service Reference:

Examples:

Calling the putInvitationConfiguration operation

var params = {
  OrganizationName: 'STRING_VALUE', /* required */
  ContactEmail: 'STRING_VALUE',
  PrivateSkillIds: [
    'STRING_VALUE',
    /* more items */
  ]
};
alexaforbusiness.putInvitationConfiguration(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: {})
    • OrganizationName — (String)

      The name of the organization sending the enrollment invite to a user.

    • ContactEmail — (String)

      The email ID of the organization or individual contact that the enrolled user can use.

    • PrivateSkillIds — (Array<String>)

      The list of private skill IDs that you want to recommend to the user to enable in the invitation.

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.

Returns:

  • (AWS.Request)

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

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

Updates room skill parameter details by room, skill, and parameter key ID. Not all skills have a room skill parameter.

Service Reference:

Examples:

Calling the putRoomSkillParameter operation

var params = {
  RoomSkillParameter: { /* required */
    ParameterKey: 'STRING_VALUE', /* required */
    ParameterValue: 'STRING_VALUE' /* required */
  },
  SkillId: 'STRING_VALUE', /* required */
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.putRoomSkillParameter(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: {})
    • RoomArn — (String)

      The ARN of the room associated with the room skill parameter. Required.

    • SkillId — (String)

      The ARN of the skill associated with the room skill parameter. Required.

    • RoomSkillParameter — (map)

      The updated room skill parameter. Required.

      • ParameterKeyrequired — (String)

        The parameter key of a room skill parameter. ParameterKey is an enumerated type that only takes “DEFAULT” or “SCOPE” as valid values.

      • ParameterValuerequired — (String)

        The parameter value of a room skill parameter.

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.

Returns:

  • (AWS.Request)

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

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

Links a user's account to a third-party skill provider. If this API operation is called by an assumed IAM role, the skill being linked must be a private skill. Also, the skill must be owned by the AWS account that assumed the IAM role.

Service Reference:

Examples:

Calling the putSkillAuthorization operation

var params = {
  AuthorizationResult: { /* required */
    '<Key>': 'STRING_VALUE',
    /* '<Key>': ... */
  },
  SkillId: 'STRING_VALUE', /* required */
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.putSkillAuthorization(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: {})
    • AuthorizationResult — (map<String>)

      The authorization result specific to OAUTH code grant output. "Code” must be populated in the AuthorizationResult map to establish the authorization.

    • SkillId — (String)

      The unique identifier of a skill.

    • RoomArn — (String)

      The room that the skill is authorized for.

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.

Returns:

  • (AWS.Request)

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

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

Registers an Alexa-enabled device built by an Original Equipment Manufacturer (OEM) using Alexa Voice Service (AVS).

Service Reference:

Examples:

Calling the registerAVSDevice operation

var params = {
  AmazonId: 'STRING_VALUE', /* required */
  ClientId: 'STRING_VALUE', /* required */
  ProductId: 'STRING_VALUE', /* required */
  UserCode: 'STRING_VALUE', /* required */
  DeviceSerialNumber: 'STRING_VALUE',
  RoomArn: 'STRING_VALUE',
  Tags: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.registerAVSDevice(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: {})
    • ClientId — (String)

      The client ID of the OEM used for code-based linking authorization on an AVS device.

    • UserCode — (String)

      The code that is obtained after your AVS device has made a POST request to LWA as a part of the Device Authorization Request component of the OAuth code-based linking specification.

    • ProductId — (String)

      The product ID used to identify your AVS device during authorization.

    • DeviceSerialNumber — (String)

      The key generated by the OEM that uniquely identifies a specified instance of your AVS device.

    • AmazonId — (String)

      The device type ID for your AVS device generated by Amazon when the OEM creates a new product on Amazon's Developer Console.

    • RoomArn — (String)

      The Amazon Resource Name (ARN) of the room with which to associate your AVS device.

    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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:

      • DeviceArn — (String)

        The ARN of the device.

Returns:

  • (AWS.Request)

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

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

Disassociates a skill from the organization under a user's AWS account. If the skill is a private skill, it moves to an AcceptStatus of PENDING. Any private or public skill that is rejected can be added later by calling the ApproveSkill API.

Service Reference:

Examples:

Calling the rejectSkill operation

var params = {
  SkillId: 'STRING_VALUE' /* required */
};
alexaforbusiness.rejectSkill(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: {})
    • SkillId — (String)

      The unique identifier of the skill.

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.

Returns:

  • (AWS.Request)

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

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

Determines the details for the room from which a skill request was invoked. This operation is used by skill developers.

To query ResolveRoom from an Alexa skill, the skill ID needs to be authorized. When the skill is using an AWS Lambda function, the skill is automatically authorized when you publish your skill as a private skill to your AWS account. Skills that are hosted using a custom web service must be manually authorized. To get your skill authorized, contact AWS Support with your AWS account ID that queries the ResolveRoom API and skill ID.

Service Reference:

Examples:

Calling the resolveRoom operation

var params = {
  SkillId: 'STRING_VALUE', /* required */
  UserId: 'STRING_VALUE' /* required */
};
alexaforbusiness.resolveRoom(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: {})
    • UserId — (String)

      The ARN of the user. Required.

    • SkillId — (String)

      The ARN of the skill that was requested. Required.

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:

      • RoomArn — (String)

        The ARN of the room from which the skill request was invoked.

      • RoomName — (String)

        The name of the room from which the skill request was invoked.

      • RoomSkillParameters — (Array<map>)

        Response to get the room profile request. Required.

        • ParameterKeyrequired — (String)

          The parameter key of a room skill parameter. ParameterKey is an enumerated type that only takes “DEFAULT” or “SCOPE” as valid values.

        • ParameterValuerequired — (String)

          The parameter value of a room skill parameter.

Returns:

  • (AWS.Request)

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

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

Revokes an invitation and invalidates the enrollment URL.

Service Reference:

Examples:

Calling the revokeInvitation operation

var params = {
  EnrollmentId: 'STRING_VALUE',
  UserArn: 'STRING_VALUE'
};
alexaforbusiness.revokeInvitation(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: {})
    • UserArn — (String)

      The ARN of the user for whom to revoke an enrollment invitation. Required.

    • EnrollmentId — (String)

      The ARN of the enrollment invitation to revoke. Required.

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.

Returns:

  • (AWS.Request)

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

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

Searches address books and lists the ones that meet a set of filter and sort criteria.

Service Reference:

Examples:

Calling the searchAddressBooks operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchAddressBooks(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: {})
    • Filters — (Array<map>)

      The filters to use to list a specified set of address books. The supported filter key is AddressBookName.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the specified set of address books. The supported sort key is AddressBookName.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

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:

      • AddressBooks — (Array<map>)

        The address books that meet the specified set of filter criteria, in sort order.

        • AddressBookArn — (String)

          The ARN of the address book.

        • Name — (String)

          The name of the address book.

        • Description — (String)

          The description of the address book.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of address books returned.

Returns:

  • (AWS.Request)

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

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

Searches contacts and lists the ones that meet a set of filter and sort criteria.

Service Reference:

Examples:

Calling the searchContacts operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchContacts(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: {})
    • Filters — (Array<map>)

      The filters to use to list a specified set of address books. The supported filter keys are DisplayName, FirstName, LastName, and AddressBookArns.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the specified set of contacts. The supported sort keys are DisplayName, FirstName, and LastName.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response only includes results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

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:

      • Contacts — (Array<map>)

        The contacts that meet the specified set of filter criteria, in sort order.

        • ContactArn — (String)

          The ARN of the contact.

        • DisplayName — (String)

          The name of the contact to display on the console.

        • FirstName — (String)

          The first name of the contact, used to call the contact on the device.

        • LastName — (String)

          The last name of the contact, used to call the contact on the device.

        • PhoneNumber — (String)

          The phone number of the contact. The phone number type defaults to WORK. You can specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

        • PhoneNumbers — (Array<map>)

          The list of phone numbers for the contact.

          • Numberrequired — (String)

            The raw value of the phone number.

          • Typerequired — (String)

            The type of the phone number.

            Possible values include:
            • "MOBILE"
            • "WORK"
            • "HOME"
        • SipAddresses — (Array<map>)

          The list of SIP addresses for the contact.

          • Urirequired — (String)

            The URI for the SIP address.

          • Typerequired — (String)

            The type of the SIP address.

            Possible values include:
            • "WORK"
      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of contacts returned.

Returns:

  • (AWS.Request)

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

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

Searches devices and lists the ones that meet a set of filter criteria.

Service Reference:

Examples:

Calling the searchDevices operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchDevices(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: {})
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

    • Filters — (Array<map>)

      The filters to use to list a specified set of devices. Supported filter keys are DeviceName, DeviceStatus, DeviceStatusDetailCode, RoomName, DeviceType, DeviceSerialNumber, UnassociatedOnly, ConnectionStatus (ONLINE and OFFLINE), NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the specified set of devices. Supported sort keys are DeviceName, DeviceStatus, RoomName, DeviceType, DeviceSerialNumber, ConnectionStatus, NetworkProfileName, NetworkProfileArn, Feature, and FailureCode.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"

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:

      • Devices — (Array<map>)

        The devices that meet the specified set of filter criteria, in sort order.

        • DeviceArn — (String)

          The ARN of a device.

        • DeviceSerialNumber — (String)

          The serial number of a device.

        • DeviceType — (String)

          The type of a device.

        • DeviceName — (String)

          The name of a device.

        • SoftwareVersion — (String)

          The software version of a device.

        • MacAddress — (String)

          The MAC address of a device.

        • DeviceStatus — (String)

          The status of a device.

          Possible values include:
          • "READY"
          • "PENDING"
          • "WAS_OFFLINE"
          • "DEREGISTERED"
          • "FAILED"
        • NetworkProfileArn — (String)

          The ARN of the network profile associated with a device.

        • NetworkProfileName — (String)

          The name of the network profile associated with a device.

        • RoomArn — (String)

          The room ARN associated with a device.

        • RoomName — (String)

          The name of the room associated with a device.

        • DeviceStatusInfo — (map)

          Detailed information about a device's status.

          • DeviceStatusDetails — (Array<map>)

            One or more device status detail descriptions.

            • Feature — (String)

              The list of available features on the device.

              Possible values include:
              • "BLUETOOTH"
              • "VOLUME"
              • "NOTIFICATIONS"
              • "LISTS"
              • "SKILLS"
              • "NETWORK_PROFILE"
              • "SETTINGS"
              • "ALL"
            • Code — (String)

              The device status detail code.

              Possible values include:
              • "DEVICE_SOFTWARE_UPDATE_NEEDED"
              • "DEVICE_WAS_OFFLINE"
              • "CREDENTIALS_ACCESS_FAILURE"
              • "TLS_VERSION_MISMATCH"
              • "ASSOCIATION_REJECTION"
              • "AUTHENTICATION_FAILURE"
              • "DHCP_FAILURE"
              • "INTERNET_UNAVAILABLE"
              • "DNS_FAILURE"
              • "UNKNOWN_FAILURE"
              • "CERTIFICATE_ISSUING_LIMIT_EXCEEDED"
              • "INVALID_CERTIFICATE_AUTHORITY"
              • "NETWORK_PROFILE_NOT_FOUND"
              • "INVALID_PASSWORD_STATE"
              • "PASSWORD_NOT_FOUND"
              • "PASSWORD_MANAGER_ACCESS_DENIED"
              • "CERTIFICATE_AUTHORITY_ACCESS_DENIED"
          • ConnectionStatus — (String)

            The latest available information about the connection status of a device.

            Possible values include:
            • "ONLINE"
            • "OFFLINE"
          • ConnectionStatusUpdatedTime — (Date)

            The time (in epoch) when the device connection status changed.

        • CreatedTime — (Date)

          The time (in epoch) when the device data was created.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of devices returned.

Returns:

  • (AWS.Request)

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

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

Searches network profiles and lists the ones that meet a set of filter and sort criteria.

Service Reference:

Examples:

Calling the searchNetworkProfiles operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchNetworkProfiles(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: {})
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

    • Filters — (Array<map>)

      The filters to use to list a specified set of network profiles. Valid filters are NetworkProfileName, Ssid, and SecurityType.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use to list the specified set of network profiles. Valid sort criteria includes NetworkProfileName, Ssid, and SecurityType.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"

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:

      • NetworkProfiles — (Array<map>)

        The network profiles that meet the specified set of filter criteria, in sort order. It is a list of NetworkProfileData objects.

        • NetworkProfileArn — (String)

          The ARN of the network profile associated with a device.

        • NetworkProfileName — (String)

          The name of the network profile associated with a device.

        • Description — (String)

          Detailed information about a device's network profile.

        • Ssid — (String)

          The SSID of the Wi-Fi network.

        • SecurityType — (String)

          The security type of the Wi-Fi network. This can be WPA2_ENTERPRISE, WPA2_PSK, WPA_PSK, WEP, or OPEN.

          Possible values include:
          • "OPEN"
          • "WEP"
          • "WPA_PSK"
          • "WPA2_PSK"
          • "WPA2_ENTERPRISE"
        • EapMethod — (String)

          The authentication standard that is used in the EAP framework. Currently, EAP_TLS is supported.

          Possible values include:
          • "EAP_TLS"
        • CertificateAuthorityArn — (String)

          The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM). This is used to issue certificates to the devices.

      • NextToken — (String)

        An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

      • TotalCount — (Integer)

        The total number of network profiles returned.

Returns:

  • (AWS.Request)

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

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

Searches room profiles and lists the ones that meet a set of filter criteria.

Service Reference:

Examples:

Calling the searchProfiles operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchProfiles(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: {})
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

    • Filters — (Array<map>)

      The filters to use to list a specified set of room profiles. Supported filter keys are ProfileName and Address. Required.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the specified set of room profiles. Supported sort keys are ProfileName and Address.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"

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:

      • Profiles — (Array<map>)

        The profiles that meet the specified set of filter criteria, in sort order.

        • ProfileArn — (String)

          The ARN of a room profile.

        • ProfileName — (String)

          The name of a room profile.

        • IsDefault — (Boolean)

          Retrieves if the profile data is default or not.

        • Address — (String)

          The address of a room profile.

        • Timezone — (String)

          The time zone of a room profile.

        • DistanceUnit — (String)

          The distance unit of a room profile.

          Possible values include:
          • "METRIC"
          • "IMPERIAL"
        • TemperatureUnit — (String)

          The temperature unit of a room profile.

          Possible values include:
          • "FAHRENHEIT"
          • "CELSIUS"
        • WakeWord — (String)

          The wake word of a room profile.

          Possible values include:
          • "ALEXA"
          • "AMAZON"
          • "ECHO"
          • "COMPUTER"
        • Locale — (String)

          The locale of a room profile. (This is currently available only to a limited preview audience.)

      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of room profiles returned.

Returns:

  • (AWS.Request)

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

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

Searches rooms and lists the ones that meet a set of filter and sort criteria.

Service Reference:

Examples:

Calling the searchRooms operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchRooms(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: {})
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

    • Filters — (Array<map>)

      The filters to use to list a specified set of rooms. The supported filter keys are RoomName and ProfileName.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the specified set of rooms. The supported sort keys are RoomName and ProfileName.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"

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:

      • Rooms — (Array<map>)

        The rooms that meet the specified set of filter criteria, in sort order.

        • RoomArn — (String)

          The ARN of a room.

        • RoomName — (String)

          The name of a room.

        • Description — (String)

          The description of a room.

        • ProviderCalendarId — (String)

          The provider calendar ARN of a room.

        • ProfileArn — (String)

          The profile ARN of a room.

        • ProfileName — (String)

          The profile name of a room.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of rooms returned.

Returns:

  • (AWS.Request)

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

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

Searches skill groups and lists the ones that meet a set of filter and sort criteria.

Service Reference:

Examples:

Calling the searchSkillGroups operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchSkillGroups(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: {})
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. Required.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

    • Filters — (Array<map>)

      The filters to use to list a specified set of skill groups. The supported filter key is SkillGroupName.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the specified set of skill groups. The supported sort key is SkillGroupName.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"

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:

      • SkillGroups — (Array<map>)

        The skill groups that meet the filter criteria, in sort order.

        • SkillGroupArn — (String)

          The skill group ARN of a skill group.

        • SkillGroupName — (String)

          The skill group name of a skill group.

        • Description — (String)

          The description of a skill group.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of skill groups returned.

Returns:

  • (AWS.Request)

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

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

Searches users and lists the ones that meet a set of filter and sort criteria.

Service Reference:

Examples:

Calling the searchUsers operation

var params = {
  Filters: [
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  MaxResults: 'NUMBER_VALUE',
  NextToken: 'STRING_VALUE',
  SortCriteria: [
    {
      Key: 'STRING_VALUE', /* required */
      Value: ASC | DESC /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.searchUsers(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: {})
    • NextToken — (String)

      An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults. Required.

    • MaxResults — (Integer)

      The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved. Required.

    • Filters — (Array<map>)

      The filters to use for listing a specific set of users. Required. Supported filter keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • SortCriteria — (Array<map>)

      The sort order to use in listing the filtered set of users. Required. Supported sort keys are UserId, FirstName, LastName, Email, and EnrollmentStatus.

      • Keyrequired — (String)

        The sort key of a sort object.

      • Valuerequired — (String)

        The sort value of a sort object.

        Possible values include:
        • "ASC"
        • "DESC"

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:

      • Users — (Array<map>)

        The users that meet the specified set of filter criteria, in sort order.

        • UserArn — (String)

          The ARN of a user.

        • FirstName — (String)

          The first name of a user.

        • LastName — (String)

          The last name of a user.

        • Email — (String)

          The email of a user.

        • EnrollmentStatus — (String)

          The enrollment status of a user.

          Possible values include:
          • "INITIALIZED"
          • "PENDING"
          • "REGISTERED"
          • "DISASSOCIATING"
          • "DEREGISTERING"
        • EnrollmentId — (String)

          The enrollment ARN of a user.

      • NextToken — (String)

        The token returned to indicate that there is more data available.

      • TotalCount — (Integer)

        The total number of users returned.

Returns:

  • (AWS.Request)

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

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

Triggers an asynchronous flow to send text, SSML, or audio announcements to rooms that are identified by a search or filter.

Service Reference:

Examples:

Calling the sendAnnouncement operation

var params = {
  ClientRequestToken: 'STRING_VALUE', /* required */
  Content: { /* required */
    AudioList: [
      {
        Locale: en-US, /* required */
        Location: 'STRING_VALUE' /* required */
      },
      /* more items */
    ],
    SsmlList: [
      {
        Locale: en-US, /* required */
        Value: 'STRING_VALUE' /* required */
      },
      /* more items */
    ],
    TextList: [
      {
        Locale: en-US, /* required */
        Value: 'STRING_VALUE' /* required */
      },
      /* more items */
    ]
  },
  RoomFilters: [ /* required */
    {
      Key: 'STRING_VALUE', /* required */
      Values: [ /* required */
        'STRING_VALUE',
        /* more items */
      ]
    },
    /* more items */
  ],
  TimeToLiveInSeconds: 'NUMBER_VALUE'
};
alexaforbusiness.sendAnnouncement(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: {})
    • RoomFilters — (Array<map>)

      The filters to use to send an announcement to a specified list of rooms. The supported filter keys are RoomName, ProfileName, RoomArn, and ProfileArn. To send to all rooms, specify an empty RoomFilters list.

      • Keyrequired — (String)

        The key of a filter.

      • Valuesrequired — (Array<String>)

        The values of a filter.

    • Content — (map)

      The announcement content. This can contain only one of the three possible announcement types (text, SSML or audio).

      • TextList — (Array<map>)

        The list of text messages.

        • Localerequired — (String)

          The locale of the text message. Currently, en-US is supported.

          Possible values include:
          • "en-US"
        • Valuerequired — (String)

          The value of the text message.

      • SsmlList — (Array<map>)

        The list of SSML messages.

        • Localerequired — (String)

          The locale of the SSML message. Currently, en-US is supported.

          Possible values include:
          • "en-US"
        • Valuerequired — (String)

          The value of the SSML message in the correct SSML format. The audio tag is not supported.

      • AudioList — (Array<map>)

        The list of audio messages.

        • Localerequired — (String)

          The locale of the audio message. Currently, en-US is supported.

          Possible values include:
          • "en-US"
        • Locationrequired — (String)

          The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.

    • TimeToLiveInSeconds — (Integer)

      The time to live for an announcement. Default is 300. If delivery doesn't occur within this time, the announcement is not delivered.

    • ClientRequestToken — (String)

      The unique, user-specified identifier for the request that ensures idempotency.

      If a token is not provided, the SDK will use a version 4 UUID.

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:

      • AnnouncementArn — (String)

        The identifier of the announcement.

Returns:

  • (AWS.Request)

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

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

Sends an enrollment invitation email with a URL to a user. The URL is valid for 30 days or until you call this operation again, whichever comes first.

Service Reference:

Examples:

Calling the sendInvitation operation

var params = {
  UserArn: 'STRING_VALUE'
};
alexaforbusiness.sendInvitation(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: {})
    • UserArn — (String)

      The ARN of the user to whom to send an invitation. Required.

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.

Returns:

  • (AWS.Request)

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

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

Resets a device and its account to the known default settings. This clears all information and settings set by previous users in the following ways:

  • Bluetooth - This unpairs all bluetooth devices paired with your echo device.

  • Volume - This resets the echo device's volume to the default value.

  • Notifications - This clears all notifications from your echo device.

  • Lists - This clears all to-do items from your echo device.

  • Settings - This internally syncs the room's profile (if the device is assigned to a room), contacts, address books, delegation access for account linking, and communications (if enabled on the room profile).

Service Reference:

Examples:

Calling the startDeviceSync operation

var params = {
  Features: [ /* required */
    BLUETOOTH | VOLUME | NOTIFICATIONS | LISTS | SKILLS | NETWORK_PROFILE | SETTINGS | ALL,
    /* more items */
  ],
  DeviceArn: 'STRING_VALUE',
  RoomArn: 'STRING_VALUE'
};
alexaforbusiness.startDeviceSync(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: {})
    • RoomArn — (String)

      The ARN of the room with which the device to sync is associated. Required.

    • DeviceArn — (String)

      The ARN of the device to sync. Required.

    • Features — (Array<String>)

      Request structure to start the device sync. Required.

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.

Returns:

  • (AWS.Request)

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

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

Initiates the discovery of any smart home appliances associated with the room.

Examples:

Calling the startSmartHomeApplianceDiscovery operation

var params = {
  RoomArn: 'STRING_VALUE' /* required */
};
alexaforbusiness.startSmartHomeApplianceDiscovery(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: {})
    • RoomArn — (String)

      The room where smart home appliance discovery was initiated.

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.

Returns:

  • (AWS.Request)

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

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

Adds metadata tags to a specified resource.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  Arn: 'STRING_VALUE', /* required */
  Tags: [ /* required */
    {
      Key: 'STRING_VALUE', /* required */
      Value: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.tagResource(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: {})
    • Arn — (String)

      The ARN of the resource to which to add metadata tags. Required.

    • Tags — (Array<map>)

      The tags to be added to the specified resource. Do not provide system tags. Required.

      • Keyrequired — (String)

        The key of a tag. Tag keys are case-sensitive.

      • Valuerequired — (String)

        The value of a tag. Tag values are case sensitive and can be null.

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.

Returns:

  • (AWS.Request)

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

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

Removes metadata tags from a specified resource.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  Arn: 'STRING_VALUE', /* required */
  TagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
alexaforbusiness.untagResource(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: {})
    • Arn — (String)

      The ARN of the resource from which to remove metadata tags. Required.

    • TagKeys — (Array<String>)

      The tags to be removed from the specified resource. Do not provide system tags. Required.

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.

Returns:

  • (AWS.Request)

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

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

Updates address book details by the address book ARN.

Service Reference:

Examples:

Calling the updateAddressBook operation

var params = {
  AddressBookArn: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Name: 'STRING_VALUE'
};
alexaforbusiness.updateAddressBook(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: {})
    • AddressBookArn — (String)

      The ARN of the room to update.

    • Name — (String)

      The updated name of the room.

    • Description — (String)

      The updated description of the room.

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.

Returns:

  • (AWS.Request)

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

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

Updates the configuration of the report delivery schedule with the specified schedule ARN.

Service Reference:

Examples:

Calling the updateBusinessReportSchedule operation

var params = {
  ScheduleArn: 'STRING_VALUE', /* required */
  Format: CSV | CSV_ZIP,
  Recurrence: {
    StartDate: 'STRING_VALUE'
  },
  S3BucketName: 'STRING_VALUE',
  S3KeyPrefix: 'STRING_VALUE',
  ScheduleName: 'STRING_VALUE'
};
alexaforbusiness.updateBusinessReportSchedule(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: {})
    • ScheduleArn — (String)

      The ARN of the business report schedule.

    • S3BucketName — (String)

      The S3 location of the output reports.

    • S3KeyPrefix — (String)

      The S3 key where the report is delivered.

    • Format — (String)

      The format of the generated report (individual CSV files or zipped files of individual files).

      Possible values include:
      • "CSV"
      • "CSV_ZIP"
    • ScheduleName — (String)

      The name identifier of the schedule.

    • Recurrence — (map)

      The recurrence of the reports.

      • StartDate — (String)

        The start date.

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.

Returns:

  • (AWS.Request)

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

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

Updates an existing conference provider's settings.

Service Reference:

Examples:

Calling the updateConferenceProvider operation

var params = {
  ConferenceProviderArn: 'STRING_VALUE', /* required */
  ConferenceProviderType: CHIME | BLUEJEANS | FUZE | GOOGLE_HANGOUTS | POLYCOM | RINGCENTRAL | SKYPE_FOR_BUSINESS | WEBEX | ZOOM | CUSTOM, /* required */
  MeetingSetting: { /* required */
    RequirePin: YES | NO | OPTIONAL /* required */
  },
  IPDialIn: {
    CommsProtocol: SIP | SIPS | H323, /* required */
    Endpoint: 'STRING_VALUE' /* required */
  },
  PSTNDialIn: {
    CountryCode: 'STRING_VALUE', /* required */
    OneClickIdDelay: 'STRING_VALUE', /* required */
    OneClickPinDelay: 'STRING_VALUE', /* required */
    PhoneNumber: 'STRING_VALUE' /* required */
  }
};
alexaforbusiness.updateConferenceProvider(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: {})
    • ConferenceProviderArn — (String)

      The ARN of the conference provider.

    • ConferenceProviderType — (String)

      The type of the conference provider.

      Possible values include:
      • "CHIME"
      • "BLUEJEANS"
      • "FUZE"
      • "GOOGLE_HANGOUTS"
      • "POLYCOM"
      • "RINGCENTRAL"
      • "SKYPE_FOR_BUSINESS"
      • "WEBEX"
      • "ZOOM"
      • "CUSTOM"
    • IPDialIn — (map)

      The IP endpoint and protocol for calling.

      • Endpointrequired — (String)

        The IP address.

      • CommsProtocolrequired — (String)

        The protocol, including SIP, SIPS, and H323.

        Possible values include:
        • "SIP"
        • "SIPS"
        • "H323"
    • PSTNDialIn — (map)

      The information for PSTN conferencing.

      • CountryCoderequired — (String)

        The zip code.

      • PhoneNumberrequired — (String)

        The phone number to call to join the conference.

      • OneClickIdDelayrequired — (String)

        The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

      • OneClickPinDelayrequired — (String)

        The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network.

    • MeetingSetting — (map)

      The meeting settings for the conference provider.

      • RequirePinrequired — (String)

        The values that indicate whether the pin is always required.

        Possible values include:
        • "YES"
        • "NO"
        • "OPTIONAL"

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.

Returns:

  • (AWS.Request)

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

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

Updates the contact details by the contact ARN.

Service Reference:

Examples:

Calling the updateContact operation

var params = {
  ContactArn: 'STRING_VALUE', /* required */
  DisplayName: 'STRING_VALUE',
  FirstName: 'STRING_VALUE',
  LastName: 'STRING_VALUE',
  PhoneNumber: 'STRING_VALUE',
  PhoneNumbers: [
    {
      Number: 'STRING_VALUE', /* required */
      Type: MOBILE | WORK | HOME /* required */
    },
    /* more items */
  ],
  SipAddresses: [
    {
      Type: WORK, /* required */
      Uri: 'STRING_VALUE' /* required */
    },
    /* more items */
  ]
};
alexaforbusiness.updateContact(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: {})
    • ContactArn — (String)

      The ARN of the contact to update.

    • DisplayName — (String)

      The updated display name of the contact.

    • FirstName — (String)

      The updated first name of the contact.

    • LastName — (String)

      The updated last name of the contact.

    • PhoneNumber — (String)

      The updated phone number of the contact. The phone number type defaults to WORK. You can either specify PhoneNumber or PhoneNumbers. We recommend that you use PhoneNumbers, which lets you specify the phone number type and multiple numbers.

    • PhoneNumbers — (Array<map>)

      The list of phone numbers for the contact.

      • Numberrequired — (String)

        The raw value of the phone number.

      • Typerequired — (String)

        The type of the phone number.

        Possible values include:
        • "MOBILE"
        • "WORK"
        • "HOME"
    • SipAddresses — (Array<map>)

      The list of SIP addresses for the contact.

      • Urirequired — (String)

        The URI for the SIP address.

      • Typerequired — (String)

        The type of the SIP address.

        Possible values include:
        • "WORK"

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.

Returns:

  • (AWS.Request)

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

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

Updates the device name by device ARN.

Service Reference:

Examples:

Calling the updateDevice operation

var params = {
  DeviceArn: 'STRING_VALUE',
  DeviceName: 'STRING_VALUE'
};
alexaforbusiness.updateDevice(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: {})
    • DeviceArn — (String)

      The ARN of the device to update. Required.

    • DeviceName — (String)

      The updated device name. Required.

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.

Returns:

  • (AWS.Request)

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

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

Updates the details of a gateway. If any optional field is not provided, the existing corresponding value is left unmodified.

Service Reference:

Examples:

Calling the updateGateway operation

var params = {
  GatewayArn: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Name: 'STRING_VALUE',
  SoftwareVersion: 'STRING_VALUE'
};
alexaforbusiness.updateGateway(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: {})
    • GatewayArn — (String)

      The ARN of the gateway to update.

    • Name — (String)

      The updated name of the gateway.

    • Description — (String)

      The updated description of the gateway.

    • SoftwareVersion — (String)

      The updated software version of the gateway. The gateway automatically updates its software version during normal operation.

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.

Returns:

  • (AWS.Request)

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

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

Updates the details of a gateway group. If any optional field is not provided, the existing corresponding value is left unmodified.

Service Reference:

Examples:

Calling the updateGatewayGroup operation

var params = {
  GatewayGroupArn: 'STRING_VALUE', /* required */
  Description: 'STRING_VALUE',
  Name: 'STRING_VALUE'
};
alexaforbusiness.updateGatewayGroup(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: {})
    • GatewayGroupArn — (String)

      The ARN of the gateway group to update.

    • Name — (String)

      The updated name of the gateway group.

    • Description — (String)

      The updated description of the gateway group.

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.

Returns:

  • (AWS.Request)

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

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

Updates a network profile by the network profile ARN.

Service Reference:

Examples:

Calling the updateNetworkProfile operation

var params = {
  NetworkProfileArn: 'STRING_VALUE', /* required */
  CertificateAuthorityArn: 'STRING_VALUE',
  CurrentPassword: 'STRING_VALUE',
  Description: 'STRING_VALUE',
  NetworkProfileName: 'STRING_VALUE',
  NextPassword: 'STRING_VALUE',
  TrustAnchors: [
    'STRING_VALUE',
    /* more items */
  ]
};
alexaforbusiness.updateNetworkProfile(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: {})
    • NetworkProfileArn — (String)

      The ARN of the network profile associated with a device.

    • NetworkProfileName — (String)

      The name of the network profile associated with a device.

    • Description — (String)

      Detailed information about a device's network profile.

    • CurrentPassword — (String)

      The current password of the Wi-Fi network.

    • NextPassword — (String)

      The next, or subsequent, password of the Wi-Fi network. This password is asynchronously transmitted to the device and is used when the password of the network changes to NextPassword.

    • CertificateAuthorityArn — (String)

      The ARN of the Private Certificate Authority (PCA) created in AWS Certificate Manager (ACM). This is used to issue certificates to the devices.

    • TrustAnchors — (Array<String>)

      The root certificate(s) of your authentication server that will be installed on your devices and used to trust your authentication server during EAP negotiation.

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.

Returns:

  • (AWS.Request)

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

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

Updates an existing room profile by room profile ARN.

Service Reference:

Examples:

Calling the updateProfile operation

var params = {
  Address: 'STRING_VALUE',
  DataRetentionOptIn: true || false,
  DistanceUnit: METRIC | IMPERIAL,
  IsDefault: true || false,
  Locale: 'STRING_VALUE',
  MaxVolumeLimit: 'NUMBER_VALUE',
  MeetingRoomConfiguration: {
    EndOfMeetingReminder: {
      Enabled: true || false,
      ReminderAtMinutes: [
        'NUMBER_VALUE',
        /* more items */
      ],
      ReminderType: ANNOUNCEMENT_TIME_CHECK | ANNOUNCEMENT_VARIABLE_TIME_LEFT | CHIME | KNOCK
    },
    InstantBooking: {
      DurationInMinutes: 'NUMBER_VALUE',
      Enabled: true || false
    },
    RequireCheckIn: {
      Enabled: true || false,
      ReleaseAfterMinutes: 'NUMBER_VALUE'
    },
    RoomUtilizationMetricsEnabled: true || false
  },
  PSTNEnabled: true || false,
  ProfileArn: 'STRING_VALUE',
  ProfileName: 'STRING_VALUE',
  SetupModeDisabled: true || false,
  TemperatureUnit: FAHRENHEIT | CELSIUS,
  Timezone: 'STRING_VALUE',
  WakeWord: ALEXA | AMAZON | ECHO | COMPUTER
};
alexaforbusiness.updateProfile(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: {})
    • ProfileArn — (String)

      The ARN of the room profile to update. Required.

    • ProfileName — (String)

      The updated name for the room profile.

    • IsDefault — (Boolean)

      Sets the profile as default if selected. If this is missing, no update is done to the default status.

    • Timezone — (String)

      The updated timezone for the room profile.

    • Address — (String)

      The updated address for the room profile.

    • DistanceUnit — (String)

      The updated distance unit for the room profile.

      Possible values include:
      • "METRIC"
      • "IMPERIAL"
    • TemperatureUnit — (String)

      The updated temperature unit for the room profile.

      Possible values include:
      • "FAHRENHEIT"
      • "CELSIUS"
    • WakeWord — (String)

      The updated wake word for the room profile.

      Possible values include:
      • "ALEXA"
      • "AMAZON"
      • "ECHO"
      • "COMPUTER"
    • Locale — (String)

      The updated locale for the room profile. (This is currently only available to a limited preview audience.)

    • SetupModeDisabled — (Boolean)

      Whether the setup mode of the profile is enabled.

    • MaxVolumeLimit — (Integer)

      The updated maximum volume limit for the room profile.

    • PSTNEnabled — (Boolean)

      Whether the PSTN setting of the room profile is enabled.

    • DataRetentionOptIn — (Boolean)

      Whether data retention of the profile is enabled.

    • MeetingRoomConfiguration — (map)

      The updated meeting room settings of a room profile.

      • RoomUtilizationMetricsEnabled — (Boolean)

        Whether room utilization metrics are enabled or not.

      • EndOfMeetingReminder — (map)

        Settings for the end of meeting reminder feature that are applied to a room profile. The end of meeting reminder enables Alexa to remind users when a meeting is ending.

        • ReminderAtMinutes — (Array<Integer>)

          Updates settings for the end of meeting reminder feature that are applied to a room profile. The end of meeting reminder enables Alexa to remind users when a meeting is ending.

        • ReminderType — (String)

          The type of sound that users hear during the end of meeting reminder.

          Possible values include:
          • "ANNOUNCEMENT_TIME_CHECK"
          • "ANNOUNCEMENT_VARIABLE_TIME_LEFT"
          • "CHIME"
          • "KNOCK"
        • Enabled — (Boolean)

          Whether an end of meeting reminder is enabled or not.

      • InstantBooking — (map)

        Settings to automatically book an available room available for a configured duration when joining a meeting with Alexa.

        • DurationInMinutes — (Integer)

          Duration between 15 and 240 minutes at increments of 15 that determines how long to book an available room when a meeting is started with Alexa.

        • Enabled — (Boolean)

          Whether instant booking is enabled or not.

      • RequireCheckIn — (map)

        Settings for requiring a check in when a room is reserved. Alexa can cancel a room reservation if it's not checked into to make the room available for others. Users can check in by joining the meeting with Alexa or an AVS device, or by saying “Alexa, check in.”

        • ReleaseAfterMinutes — (Integer)

          Duration between 5 and 20 minutes to determine when to release the room if it's not checked into.

        • Enabled — (Boolean)

          Whether require check in is enabled or not.

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.

Returns:

  • (AWS.Request)

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

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

Updates room details by room ARN.

Service Reference:

Examples:

Calling the updateRoom operation

var params = {
  Description: 'STRING_VALUE',
  ProfileArn: 'STRING_VALUE',
  ProviderCalendarId: 'STRING_VALUE',
  RoomArn: 'STRING_VALUE',
  RoomName: 'STRING_VALUE'
};
alexaforbusiness.updateRoom(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: {})
    • RoomArn — (String)

      The ARN of the room to update.

    • RoomName — (String)

      The updated name for the room.

    • Description — (String)

      The updated description for the room.

    • ProviderCalendarId — (String)

      The updated provider calendar ARN for the room.

    • ProfileArn — (String)

      The updated profile ARN for the room.

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.

Returns:

  • (AWS.Request)

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

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

Updates skill group details by skill group ARN.

Service Reference:

Examples:

Calling the updateSkillGroup operation

var params = {
  Description: 'STRING_VALUE',
  SkillGroupArn: 'STRING_VALUE',
  SkillGroupName: 'STRING_VALUE'
};
alexaforbusiness.updateSkillGroup(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: {})
    • SkillGroupArn — (String)

      The ARN of the skill group to update.

    • SkillGroupName — (String)

      The updated name for the skill group.

    • Description — (String)

      The updated description for the skill group.

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.

Returns:

  • (AWS.Request)

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