@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonAlexaForBusinessClient extends AmazonWebServiceClient implements AmazonAlexaForBusiness
Alexa for Business makes it easy for you to use Alexa in your organization. Alexa for Business gives you the tools you need 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 APIs, and you can make these available as private skills for your organization. Alexa for Business also makes it easy to voice-enable your products and services, providing context-aware voice experiences for your customers.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
AssociateDeviceWithRoomResult |
associateDeviceWithRoom(AssociateDeviceWithRoomRequest request)
Associates a device to a given room.
|
AssociateSkillGroupWithRoomResult |
associateSkillGroupWithRoom(AssociateSkillGroupWithRoomRequest request)
Associates a skill group to a given room.
|
static AmazonAlexaForBusinessClientBuilder |
builder() |
CreateProfileResult |
createProfile(CreateProfileRequest request)
Creates a new room profile with the specified details.
|
CreateRoomResult |
createRoom(CreateRoomRequest request)
Creates a room with the specified details.
|
CreateSkillGroupResult |
createSkillGroup(CreateSkillGroupRequest request)
Creates a skill group with a specified name and description.
|
CreateUserResult |
createUser(CreateUserRequest request)
Creates a user.
|
DeleteProfileResult |
deleteProfile(DeleteProfileRequest request)
Deletes a room profile by the profile ARN.
|
DeleteRoomResult |
deleteRoom(DeleteRoomRequest request)
Deletes a room by the room ARN.
|
DeleteRoomSkillParameterResult |
deleteRoomSkillParameter(DeleteRoomSkillParameterRequest request)
Deletes room skill parameter details by room, skill, and parameter key ID.
|
DeleteSkillGroupResult |
deleteSkillGroup(DeleteSkillGroupRequest request)
Deletes a skill group by skill group ARN.
|
DeleteUserResult |
deleteUser(DeleteUserRequest request)
Deletes a specified user by user ARN and enrollment ARN.
|
DisassociateDeviceFromRoomResult |
disassociateDeviceFromRoom(DisassociateDeviceFromRoomRequest request)
Disassociates a device from its current room.
|
DisassociateSkillGroupFromRoomResult |
disassociateSkillGroupFromRoom(DisassociateSkillGroupFromRoomRequest request)
Disassociates a skill group from a specified room.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDeviceResult |
getDevice(GetDeviceRequest request)
Gets the details of a device by device ARN.
|
GetProfileResult |
getProfile(GetProfileRequest request)
Gets the details of a room profile by profile ARN.
|
GetRoomResult |
getRoom(GetRoomRequest request)
Gets room details by room ARN.
|
GetRoomSkillParameterResult |
getRoomSkillParameter(GetRoomSkillParameterRequest request)
Gets room skill parameter details by room, skill, and parameter key ARN.
|
GetSkillGroupResult |
getSkillGroup(GetSkillGroupRequest request)
Gets skill group details by skill group ARN.
|
ListSkillsResult |
listSkills(ListSkillsRequest request)
Lists all enabled skills in a specific skill group.
|
ListTagsResult |
listTags(ListTagsRequest request)
Lists all tags for a specific resource.
|
PutRoomSkillParameterResult |
putRoomSkillParameter(PutRoomSkillParameterRequest request)
Updates room skill parameter details by room, skill, and parameter key ID.
|
ResolveRoomResult |
resolveRoom(ResolveRoomRequest request)
Determines the details for the room from which a skill request was invoked.
|
RevokeInvitationResult |
revokeInvitation(RevokeInvitationRequest request)
Revokes an invitation and invalidates the enrollment URL.
|
SearchDevicesResult |
searchDevices(SearchDevicesRequest request)
Searches devices and lists the ones that meet a set of filter criteria.
|
SearchProfilesResult |
searchProfiles(SearchProfilesRequest request)
Searches room profiles and lists the ones that meet a set of filter criteria.
|
SearchRoomsResult |
searchRooms(SearchRoomsRequest request)
Searches rooms and lists the ones that meet a set of filter and sort criteria.
|
SearchSkillGroupsResult |
searchSkillGroups(SearchSkillGroupsRequest request)
Searches skill groups and lists the ones that meet a set of filter and sort criteria.
|
SearchUsersResult |
searchUsers(SearchUsersRequest request)
Searches users and lists the ones that meet a set of filter and sort criteria.
|
SendInvitationResult |
sendInvitation(SendInvitationRequest request)
Sends an enrollment invitation email with a URL to a user.
|
StartDeviceSyncResult |
startDeviceSync(StartDeviceSyncRequest request)
Resets a device and its account to the known default settings by clearing all information and settings set by
previous users.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds metadata tags to a specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes metadata tags from a specified resource.
|
UpdateDeviceResult |
updateDevice(UpdateDeviceRequest request)
Updates the device name by device ARN.
|
UpdateProfileResult |
updateProfile(UpdateProfileRequest request)
Updates an existing room profile by room profile ARN.
|
UpdateRoomResult |
updateRoom(UpdateRoomRequest request)
Updates room details by room ARN.
|
UpdateSkillGroupResult |
updateSkillGroup(UpdateSkillGroupRequest request)
Updates skill group details by skill group ARN.
|
addRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AmazonAlexaForBusinessClientBuilder builder()
public AssociateDeviceWithRoomResult associateDeviceWithRoom(AssociateDeviceWithRoomRequest request)
Associates a device to 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 a manual sync is required.
associateDeviceWithRoom in interface AmazonAlexaForBusinessassociateDeviceWithRoomRequest - LimitExceededException - You are performing an action that would put you beyond your account's limits. HTTP Status Code: 400public AssociateSkillGroupWithRoomResult associateSkillGroupWithRoom(AssociateSkillGroupWithRoomRequest request)
Associates a skill group to a given room. This enables all skills in the associated skill group on all devices in the room.
associateSkillGroupWithRoom in interface AmazonAlexaForBusinessassociateSkillGroupWithRoomRequest - public CreateProfileResult createProfile(CreateProfileRequest request)
Creates a new room profile with the specified details.
createProfile in interface AmazonAlexaForBusinesscreateProfileRequest - LimitExceededException - You are performing an action that would put you beyond your account's limits. HTTP Status Code: 400AlreadyExistsException - The resource being created already exists. HTTP Status Code: 400public CreateRoomResult createRoom(CreateRoomRequest request)
Creates a room with the specified details.
createRoom in interface AmazonAlexaForBusinesscreateRoomRequest - AlreadyExistsException - The resource being created already exists. HTTP Status Code: 400LimitExceededException - You are performing an action that would put you beyond your account's limits. HTTP Status Code: 400public CreateSkillGroupResult createSkillGroup(CreateSkillGroupRequest request)
Creates a skill group with a specified name and description.
createSkillGroup in interface AmazonAlexaForBusinesscreateSkillGroupRequest - AlreadyExistsException - The resource being created already exists. HTTP Status Code: 400LimitExceededException - You are performing an action that would put you beyond your account's limits. HTTP Status Code: 400public CreateUserResult createUser(CreateUserRequest request)
Creates a user.
createUser in interface AmazonAlexaForBusinesscreateUserRequest - ResourceInUseException - The resource in the request is already in use. HTTP Status Code: 400LimitExceededException - You are performing an action that would put you beyond your account's limits. HTTP Status Code: 400public DeleteProfileResult deleteProfile(DeleteProfileRequest request)
Deletes a room profile by the profile ARN.
deleteProfile in interface AmazonAlexaForBusinessdeleteProfileRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public DeleteRoomResult deleteRoom(DeleteRoomRequest request)
Deletes a room by the room ARN.
deleteRoom in interface AmazonAlexaForBusinessdeleteRoomRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public DeleteRoomSkillParameterResult deleteRoomSkillParameter(DeleteRoomSkillParameterRequest request)
Deletes room skill parameter details by room, skill, and parameter key ID.
deleteRoomSkillParameter in interface AmazonAlexaForBusinessdeleteRoomSkillParameterRequest - public DeleteSkillGroupResult deleteSkillGroup(DeleteSkillGroupRequest request)
Deletes a skill group by skill group ARN.
deleteSkillGroup in interface AmazonAlexaForBusinessdeleteSkillGroupRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public DeleteUserResult deleteUser(DeleteUserRequest request)
Deletes a specified user by user ARN and enrollment ARN.
deleteUser in interface AmazonAlexaForBusinessdeleteUserRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public DisassociateDeviceFromRoomResult disassociateDeviceFromRoom(DisassociateDeviceFromRoomRequest 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.
disassociateDeviceFromRoom in interface AmazonAlexaForBusinessdisassociateDeviceFromRoomRequest - public DisassociateSkillGroupFromRoomResult disassociateSkillGroupFromRoom(DisassociateSkillGroupFromRoomRequest request)
Disassociates a skill group from a specified room. This disables all skills in the skill group on all devices in the room.
disassociateSkillGroupFromRoom in interface AmazonAlexaForBusinessdisassociateSkillGroupFromRoomRequest - public GetDeviceResult getDevice(GetDeviceRequest request)
Gets the details of a device by device ARN.
getDevice in interface AmazonAlexaForBusinessgetDeviceRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public GetProfileResult getProfile(GetProfileRequest request)
Gets the details of a room profile by profile ARN.
getProfile in interface AmazonAlexaForBusinessgetProfileRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public GetRoomResult getRoom(GetRoomRequest request)
Gets room details by room ARN.
getRoom in interface AmazonAlexaForBusinessgetRoomRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public GetRoomSkillParameterResult getRoomSkillParameter(GetRoomSkillParameterRequest request)
Gets room skill parameter details by room, skill, and parameter key ARN.
getRoomSkillParameter in interface AmazonAlexaForBusinessgetRoomSkillParameterRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public GetSkillGroupResult getSkillGroup(GetSkillGroupRequest request)
Gets skill group details by skill group ARN.
getSkillGroup in interface AmazonAlexaForBusinessgetSkillGroupRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public ListSkillsResult listSkills(ListSkillsRequest request)
Lists all enabled skills in a specific skill group.
listSkills in interface AmazonAlexaForBusinesslistSkillsRequest - public ListTagsResult listTags(ListTagsRequest request)
Lists all tags for a specific resource.
listTags in interface AmazonAlexaForBusinesslistTagsRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public PutRoomSkillParameterResult putRoomSkillParameter(PutRoomSkillParameterRequest request)
Updates room skill parameter details by room, skill, and parameter key ID. Not all skills have a room skill parameter.
putRoomSkillParameter in interface AmazonAlexaForBusinessputRoomSkillParameterRequest - public ResolveRoomResult resolveRoom(ResolveRoomRequest request)
Determines the details for the room from which a skill request was invoked. This operation is used by skill developers.
resolveRoom in interface AmazonAlexaForBusinessresolveRoomRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public RevokeInvitationResult revokeInvitation(RevokeInvitationRequest request)
Revokes an invitation and invalidates the enrollment URL.
revokeInvitation in interface AmazonAlexaForBusinessrevokeInvitationRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public SearchDevicesResult searchDevices(SearchDevicesRequest request)
Searches devices and lists the ones that meet a set of filter criteria.
searchDevices in interface AmazonAlexaForBusinesssearchDevicesRequest - public SearchProfilesResult searchProfiles(SearchProfilesRequest request)
Searches room profiles and lists the ones that meet a set of filter criteria.
searchProfiles in interface AmazonAlexaForBusinesssearchProfilesRequest - public SearchRoomsResult searchRooms(SearchRoomsRequest request)
Searches rooms and lists the ones that meet a set of filter and sort criteria.
searchRooms in interface AmazonAlexaForBusinesssearchRoomsRequest - public SearchSkillGroupsResult searchSkillGroups(SearchSkillGroupsRequest request)
Searches skill groups and lists the ones that meet a set of filter and sort criteria.
searchSkillGroups in interface AmazonAlexaForBusinesssearchSkillGroupsRequest - public SearchUsersResult searchUsers(SearchUsersRequest request)
Searches users and lists the ones that meet a set of filter and sort criteria.
searchUsers in interface AmazonAlexaForBusinesssearchUsersRequest - public SendInvitationResult sendInvitation(SendInvitationRequest request)
Sends an enrollment invitation email with a URL to a user. The URL is valid for 72 hours or until you call this operation again, whichever comes first.
sendInvitation in interface AmazonAlexaForBusinesssendInvitationRequest - NotFoundException - The resource is not found. HTTP Status Code: 400InvalidUserStatusException - The attempt to update a user is invalid due to the user's current status. HTTP Status Code: 400public StartDeviceSyncResult startDeviceSync(StartDeviceSyncRequest request)
Resets a device and its account to the known default settings by clearing all information and settings set by previous users.
startDeviceSync in interface AmazonAlexaForBusinessstartDeviceSyncRequest - public TagResourceResult tagResource(TagResourceRequest request)
Adds metadata tags to a specified resource.
tagResource in interface AmazonAlexaForBusinesstagResourceRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public UntagResourceResult untagResource(UntagResourceRequest request)
Removes metadata tags from a specified resource.
untagResource in interface AmazonAlexaForBusinessuntagResourceRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public UpdateDeviceResult updateDevice(UpdateDeviceRequest request)
Updates the device name by device ARN.
updateDevice in interface AmazonAlexaForBusinessupdateDeviceRequest - NotFoundException - The resource is not found. HTTP Status Code: 400public UpdateProfileResult updateProfile(UpdateProfileRequest request)
Updates an existing room profile by room profile ARN.
updateProfile in interface AmazonAlexaForBusinessupdateProfileRequest - NotFoundException - The resource is not found. HTTP Status Code: 400NameInUseException - The name sent in the request is already in use. HTTP Status Code: 400public UpdateRoomResult updateRoom(UpdateRoomRequest request)
Updates room details by room ARN.
updateRoom in interface AmazonAlexaForBusinessupdateRoomRequest - NotFoundException - The resource is not found. HTTP Status Code: 400NameInUseException - The name sent in the request is already in use. HTTP Status Code: 400public UpdateSkillGroupResult updateSkillGroup(UpdateSkillGroupRequest request)
Updates skill group details by skill group ARN.
updateSkillGroup in interface AmazonAlexaForBusinessupdateSkillGroupRequest - NotFoundException - The resource is not found. HTTP Status Code: 400NameInUseException - The name sent in the request is already in use. HTTP Status Code: 400public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata in interface AmazonAlexaForBusinessrequest - The originally executed requestCopyright © 2018. All rights reserved.