Alexa For Business

2019/11/25 - Alexa For Business - 5 updated api methods

Changes  API update for Alexa for Business: This update enables the use of meeting room configuration that can be applied to a room profile. These settings help improve and measure utilization on Alexa for Business enabled rooms. New features include end meeting reminders, intelligent room release and room utilization analytics report.

CreateBusinessReportSchedule (updated) Link ¶
Changes (request)
{'ContentRange': {'Interval': {'THIRTY_DAYS'}}}

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

See also: AWS API Documentation

Request Syntax

client.create_business_report_schedule(
    ScheduleName='string',
    S3BucketName='string',
    S3KeyPrefix='string',
    Format='CSV'|'CSV_ZIP',
    ContentRange={
        'Interval': 'ONE_DAY'|'ONE_WEEK'|'THIRTY_DAYS'
    },
    Recurrence={
        'StartDate': 'string'
    },
    ClientRequestToken='string'
)
type ScheduleName

string

param ScheduleName

The name identifier of the schedule.

type S3BucketName

string

param S3BucketName

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.

type S3KeyPrefix

string

param S3KeyPrefix

The S3 key where the report is delivered.

type Format

string

param Format

[REQUIRED]

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

type ContentRange

dict

param ContentRange

[REQUIRED]

The content range of the reports.

  • Interval (string) --

    The interval of the content range.

type Recurrence

dict

param Recurrence

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.

type ClientRequestToken

string

param ClientRequestToken

The client request token.

This field is autopopulated if not provided.

rtype

dict

returns

Response Syntax

{
    'ScheduleArn': 'string'
}

Response Structure

  • (dict) --

    • ScheduleArn (string) --

      The ARN of the business report schedule.

CreateProfile (updated) Link ¶
Changes (request)
{'MeetingRoomConfiguration': {'EndOfMeetingReminder': {'Enabled': 'boolean',
                                                       'ReminderAtMinutes': ['integer'],
                                                       'ReminderType': 'ANNOUNCEMENT_TIME_CHECK '
                                                                       '| '
                                                                       'ANNOUNCEMENT_VARIABLE_TIME_LEFT '
                                                                       '| '
                                                                       'CHIME '
                                                                       '| '
                                                                       'KNOCK'},
                              'InstantBooking': {'DurationInMinutes': 'integer',
                                                 'Enabled': 'boolean'},
                              'RequireCheckIn': {'Enabled': 'boolean',
                                                 'ReleaseAfterMinutes': 'integer'},
                              'RoomUtilizationMetricsEnabled': 'boolean'}}

Creates a new room profile with the specified details.

See also: AWS API Documentation

Request Syntax

client.create_profile(
    ProfileName='string',
    Timezone='string',
    Address='string',
    DistanceUnit='METRIC'|'IMPERIAL',
    TemperatureUnit='FAHRENHEIT'|'CELSIUS',
    WakeWord='ALEXA'|'AMAZON'|'ECHO'|'COMPUTER',
    Locale='string',
    ClientRequestToken='string',
    SetupModeDisabled=True|False,
    MaxVolumeLimit=123,
    PSTNEnabled=True|False,
    MeetingRoomConfiguration={
        'RoomUtilizationMetricsEnabled': True|False,
        'EndOfMeetingReminder': {
            'ReminderAtMinutes': [
                123,
            ],
            'ReminderType': 'ANNOUNCEMENT_TIME_CHECK'|'ANNOUNCEMENT_VARIABLE_TIME_LEFT'|'CHIME'|'KNOCK',
            'Enabled': True|False
        },
        'InstantBooking': {
            'DurationInMinutes': 123,
            'Enabled': True|False
        },
        'RequireCheckIn': {
            'ReleaseAfterMinutes': 123,
            'Enabled': True|False
        }
    }
)
type ProfileName

string

param ProfileName

[REQUIRED]

The name of a room profile.

type Timezone

string

param Timezone

[REQUIRED]

The time zone used by a room profile.

type Address

string

param Address

[REQUIRED]

The valid address for the room.

type DistanceUnit

string

param DistanceUnit

[REQUIRED]

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

type TemperatureUnit

string

param TemperatureUnit

[REQUIRED]

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

type WakeWord

string

param WakeWord

[REQUIRED]

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

type Locale

string

param Locale

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

type ClientRequestToken

string

param ClientRequestToken

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

This field is autopopulated if not provided.

type SetupModeDisabled

boolean

param SetupModeDisabled

Whether room profile setup is enabled.

type MaxVolumeLimit

integer

param MaxVolumeLimit

The maximum volume limit for a room profile.

type PSTNEnabled

boolean

param PSTNEnabled

Whether PSTN calling is enabled.

type MeetingRoomConfiguration

dict

param MeetingRoomConfiguration

The meeting room settings of a room profile.

  • RoomUtilizationMetricsEnabled (boolean) --

    Whether room utilization metrics are enabled or not.

  • EndOfMeetingReminder (dict) --

    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.

    • ReminderAtMinutes (list) -- [REQUIRED]

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

      • (integer) --

    • ReminderType (string) -- [REQUIRED]

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

    • Enabled (boolean) -- [REQUIRED]

      Whether an end of meeting reminder is enabled or not.

  • InstantBooking (dict) --

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

    • DurationInMinutes (integer) -- [REQUIRED]

      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) -- [REQUIRED]

      Whether instant booking is enabled or not.

  • RequireCheckIn (dict) --

    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) -- [REQUIRED]

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

    • Enabled (boolean) -- [REQUIRED]

      Whether require check in is enabled or not.

rtype

dict

returns

Response Syntax

{
    'ProfileArn': 'string'
}

Response Structure

  • (dict) --

    • ProfileArn (string) --

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

GetProfile (updated) Link ¶
Changes (response)
{'Profile': {'MeetingRoomConfiguration': {'EndOfMeetingReminder': {'Enabled': 'boolean',
                                                                   'ReminderAtMinutes': ['integer'],
                                                                   'ReminderType': 'ANNOUNCEMENT_TIME_CHECK '
                                                                                   '| '
                                                                                   'ANNOUNCEMENT_VARIABLE_TIME_LEFT '
                                                                                   '| '
                                                                                   'CHIME '
                                                                                   '| '
                                                                                   'KNOCK'},
                                          'InstantBooking': {'DurationInMinutes': 'integer',
                                                             'Enabled': 'boolean'},
                                          'RequireCheckIn': {'Enabled': 'boolean',
                                                             'ReleaseAfterMinutes': 'integer'},
                                          'RoomUtilizationMetricsEnabled': 'boolean'}}}

Gets the details of a room profile by profile ARN.

See also: AWS API Documentation

Request Syntax

client.get_profile(
    ProfileArn='string'
)
type ProfileArn

string

param ProfileArn

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

rtype

dict

returns

Response Syntax

{
    'Profile': {
        'ProfileArn': 'string',
        'ProfileName': 'string',
        'IsDefault': True|False,
        'Address': 'string',
        'Timezone': 'string',
        'DistanceUnit': 'METRIC'|'IMPERIAL',
        'TemperatureUnit': 'FAHRENHEIT'|'CELSIUS',
        'WakeWord': 'ALEXA'|'AMAZON'|'ECHO'|'COMPUTER',
        'Locale': 'string',
        'SetupModeDisabled': True|False,
        'MaxVolumeLimit': 123,
        'PSTNEnabled': True|False,
        'AddressBookArn': 'string',
        'MeetingRoomConfiguration': {
            'RoomUtilizationMetricsEnabled': True|False,
            'EndOfMeetingReminder': {
                'ReminderAtMinutes': [
                    123,
                ],
                'ReminderType': 'ANNOUNCEMENT_TIME_CHECK'|'ANNOUNCEMENT_VARIABLE_TIME_LEFT'|'CHIME'|'KNOCK',
                'Enabled': True|False
            },
            'InstantBooking': {
                'DurationInMinutes': 123,
                'Enabled': True|False
            },
            'RequireCheckIn': {
                'ReleaseAfterMinutes': 123,
                'Enabled': True|False
            }
        }
    }
}

Response Structure

  • (dict) --

    • Profile (dict) --

      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.

      • TemperatureUnit (string) --

        The temperature unit of a room profile.

      • WakeWord (string) --

        The wake word of a room profile.

      • 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.

      • AddressBookArn (string) --

        The ARN of the address book.

      • MeetingRoomConfiguration (dict) --

        Meeting room settings of a room profile.

        • RoomUtilizationMetricsEnabled (boolean) --

          Whether room utilization metrics are enabled or not.

        • EndOfMeetingReminder (dict) --

          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 (list) --

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

            • (integer) --

          • ReminderType (string) --

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

          • Enabled (boolean) --

            Whether an end of meeting reminder is enabled or not.

        • InstantBooking (dict) --

          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 (dict) --

          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.

ListBusinessReportSchedules (updated) Link ¶
Changes (response)
{'BusinessReportSchedules': {'ContentRange': {'Interval': {'THIRTY_DAYS'}}}}

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.

See also: AWS API Documentation

Request Syntax

client.list_business_report_schedules(
    NextToken='string',
    MaxResults=123
)
type NextToken

string

param NextToken

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

type MaxResults

integer

param MaxResults

The maximum number of schedules listed in the call.

rtype

dict

returns

Response Syntax

{
    'BusinessReportSchedules': [
        {
            'ScheduleArn': 'string',
            'ScheduleName': 'string',
            'S3BucketName': 'string',
            'S3KeyPrefix': 'string',
            'Format': 'CSV'|'CSV_ZIP',
            'ContentRange': {
                'Interval': 'ONE_DAY'|'ONE_WEEK'|'THIRTY_DAYS'
            },
            'Recurrence': {
                'StartDate': 'string'
            },
            'LastBusinessReport': {
                'Status': 'RUNNING'|'SUCCEEDED'|'FAILED',
                'FailureCode': 'ACCESS_DENIED'|'NO_SUCH_BUCKET'|'INTERNAL_FAILURE',
                'S3Location': {
                    'Path': 'string',
                    'BucketName': 'string'
                },
                'DeliveryTime': datetime(2015, 1, 1),
                'DownloadUrl': 'string'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • BusinessReportSchedules (list) --

      The schedule of the reports.

      • (dict) --

        The schedule of the usage report.

        • 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).

        • ContentRange (dict) --

          The content range of the reports.

          • Interval (string) --

            The interval of the content range.

        • Recurrence (dict) --

          The recurrence of the reports.

          • StartDate (string) --

            The start date.

        • LastBusinessReport (dict) --

          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).

          • FailureCode (string) --

            The failure code.

          • S3Location (dict) --

            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 (datetime) --

            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.

UpdateProfile (updated) Link ¶
Changes (request)
{'MeetingRoomConfiguration': {'EndOfMeetingReminder': {'Enabled': 'boolean',
                                                       'ReminderAtMinutes': ['integer'],
                                                       'ReminderType': 'ANNOUNCEMENT_TIME_CHECK '
                                                                       '| '
                                                                       'ANNOUNCEMENT_VARIABLE_TIME_LEFT '
                                                                       '| '
                                                                       'CHIME '
                                                                       '| '
                                                                       'KNOCK'},
                              'InstantBooking': {'DurationInMinutes': 'integer',
                                                 'Enabled': 'boolean'},
                              'RequireCheckIn': {'Enabled': 'boolean',
                                                 'ReleaseAfterMinutes': 'integer'},
                              'RoomUtilizationMetricsEnabled': 'boolean'}}

Updates an existing room profile by room profile ARN.

See also: AWS API Documentation

Request Syntax

client.update_profile(
    ProfileArn='string',
    ProfileName='string',
    IsDefault=True|False,
    Timezone='string',
    Address='string',
    DistanceUnit='METRIC'|'IMPERIAL',
    TemperatureUnit='FAHRENHEIT'|'CELSIUS',
    WakeWord='ALEXA'|'AMAZON'|'ECHO'|'COMPUTER',
    Locale='string',
    SetupModeDisabled=True|False,
    MaxVolumeLimit=123,
    PSTNEnabled=True|False,
    MeetingRoomConfiguration={
        'RoomUtilizationMetricsEnabled': True|False,
        'EndOfMeetingReminder': {
            'ReminderAtMinutes': [
                123,
            ],
            'ReminderType': 'ANNOUNCEMENT_TIME_CHECK'|'ANNOUNCEMENT_VARIABLE_TIME_LEFT'|'CHIME'|'KNOCK',
            'Enabled': True|False
        },
        'InstantBooking': {
            'DurationInMinutes': 123,
            'Enabled': True|False
        },
        'RequireCheckIn': {
            'ReleaseAfterMinutes': 123,
            'Enabled': True|False
        }
    }
)
type ProfileArn

string

param ProfileArn

The ARN of the room profile to update. Required.

type ProfileName

string

param ProfileName

The updated name for the room profile.

type IsDefault

boolean

param IsDefault

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

type Timezone

string

param Timezone

The updated timezone for the room profile.

type Address

string

param Address

The updated address for the room profile.

type DistanceUnit

string

param DistanceUnit

The updated distance unit for the room profile.

type TemperatureUnit

string

param TemperatureUnit

The updated temperature unit for the room profile.

type WakeWord

string

param WakeWord

The updated wake word for the room profile.

type Locale

string

param Locale

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

type SetupModeDisabled

boolean

param SetupModeDisabled

Whether the setup mode of the profile is enabled.

type MaxVolumeLimit

integer

param MaxVolumeLimit

The updated maximum volume limit for the room profile.

type PSTNEnabled

boolean

param PSTNEnabled

Whether the PSTN setting of the room profile is enabled.

type MeetingRoomConfiguration

dict

param MeetingRoomConfiguration

The updated meeting room settings of a room profile.

  • RoomUtilizationMetricsEnabled (boolean) --

    Whether room utilization metrics are enabled or not.

  • EndOfMeetingReminder (dict) --

    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 (list) --

      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.

      • (integer) --

    • ReminderType (string) --

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

    • Enabled (boolean) --

      Whether an end of meeting reminder is enabled or not.

  • InstantBooking (dict) --

    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 (dict) --

    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.

rtype

dict

returns

Response Syntax

{}

Response Structure

  • (dict) --