Changing Bluemix Account Default region? - default

I created my Bluemix account with "US SOUTH" as region. Later I realized that I belong to the UK-Europe region, and I can change to it once I'm logged in.
However, every time when I come back and log on again I need to switch again to UK region, because I cannot make this region the default one for my account. The login process takes me to my account with "US South" selected by default.
Can this be fixed?

You can use the following URL to login directly to Bluemix UK region:
https://console.eu-gb.bluemix.net
Complementing the answer with Bill Wentworth's suggestion, here's the direct UI info for all 3 regions -
US South region: http://console.ng.bluemix.net
Europe United Kingdom region: http://console.eu-gb.bluemix.net
Australia Sydney region: http://console.au-syd.bluemix.net
The info comes from here: http://ng.bluemix.net/docs/overview/index.html

Read official documentation here
You should use api.ng.bluemix.net for US South and US East

Related

AWS Alexa Smart Home regular expression mismatch

I am setting up Alexa Skills for Alexa Smart Home through UI with following confirmation
When I hit save, I get following error
- String instance with value
"arn:aws:lambda:us-west-2:123456789012:function:ab-xyz-alexa-qa:7" at
property path "$.manifest.apis.smartHome.regions.NA.endpoint.uri"
does not match the regular expression:
"arn:aws:lambda:us-east-1:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?".
- Please make sure that "Alexa Smart Home" is selected for the event
source type, for provided arn [Invalid value] :
arn:aws:lambda:us-west-2:123456789012:function:ab-xyz-alexa-qa:7
What is wrong in this setup ?
When it comes to smart home skills specifically, Alexa is very picky.
The AWS region being used by your Lambda function is us-west-2, which is not supported for the "North America" box. For the "North America" box your AWS Lambda function must reside in US East (N. Virginia), which is us-east-1.
https://developer.amazon.com/en-US/docs/alexa/smarthome/develop-smart-home-skills-in-multiple-languages.html#deploy
To fix this then, you'll want to sign into the AWS Console, click the region dropdown menu in the upper-right, choose "US East (N. Virginia)", and re-create your Lambda function there and add the "Alexa Smart Home" trigger. Once that new Lambda function is created, use the ARN of that new Lambda function, located in us-east-1, in the "North America" box instead.

Enabling installments for a PayPal Checkout

I'm using paypal's react library, and I need to add installments option, can someone help me on how to do it?
function createOrder(data, actions) {
return actions.order.create({
intent: "CAPTURE",
purchase_units: [
{
amount: {
value: "1000.00",
},
},
],
});
}
The merchant-provided installments you're interested in are available exclusively for MXN transactions to an MX account (meses sin intereses), or BRL transactions to a BR account (parcelamentos). So begin by specifying the correct currency_code in the amount object of your example code, since it will default to 'USD' otherwise.
Assuming this is sandbox mode, verify that the receiver account you are using is of the correct country MX or BR country in: Sandbox Accounts, and that that account is being used for the client id of the APP you've created and are using in: My Apps & Credentials.
Next you need to enable installments on the receiver account. Find the option here for sandbox mode, or here for live mode.
When testing the checkout, you must enter or select a credit card that starts with a BIN that is eligible for installments. For sandbox you can generate numbers here, ensuring you select the correct Country from the list.

How to disable camera in amazon chime sdk meeting

I'm creating a meeting using amazon chime sdk library (in reactjs), where I don't want the option to open the camera at all. When the meeting is created, I'm setting the video input to null:
meetingManager.meetingSession.audioVideo.chooseVideoInputDevice(null)
What is happening is that the browser is asking for permissions to use the camera, turn it on for a second, and then turn it off (when the chooseVideoInputDevice() is being called).
What I want is to never ask for the camera permission, is that possible?
You can try join meeting with DeviceLabels.None to achieve your goal.
import {
DeviceLabels,
useMeetingManager,
} from 'amazon-chime-sdk-component-library-react';
const meetingManager = useMeetingManager();
await meetingManager.join({
meetingInfo,
attendeeInfo,
deviceLabels: DeviceLabels.None, // here
});

Trigger action without user utterance

I want to write a Google Home action that tells the latest value of a field in a DB table. (Another service will keep updating the DB.)
How do I make Google Home speak the update automatically every 10 seconds without further user utterance after the Action is launched?
Interaction would be like this:
User: "OK Google, start Progress Updater"
Google Home: (Every X seconds) "10 percent."
Google Home: "19 percent"
...
Google Home: "100 percent."
Google Home: *"Task is complete!"
End of interaction
I know how to do it if a user has to say every time "Google Home, get me update".
Is there a way to do it in an automatic loop?
Tried following code based on response from #Prisoner
conv.ask(new MediaObject({
name: 'Jazz in Paris',
url: 'https://storage.googleapis.com/automotive-media/Jazz_In_Paris.mp3',
description: 'A funky Jazz tune',
icon: new Image({
url: 'https://storage.googleapis.com/automotive-media/album_art.jpg',
alt: 'Media icon',
}),
}));
});
The best tool that we have to do this is the Media prompt.
Under this scheme, when you return any progress except for "complete", you'll include a Media object with a 10 second audio. When the audio finishes playing, you'll get a MEDIA_STATUS result, indicating the audio has finished. You can then check the status and reply accordingly, possibly including another Media in your prompt.

Can't add 'otherMails' with Graph-Tester

I am trying to add another email address to a User.
PATCH https://graph.microsoft.com/v1.0/users/user#domain.de
Body:
{
"givenName":"Meier",
"surname":"Meeier",
"otherMails":["emaissssl#domain.de"]
}
Response: Success - Statuscode 204
The result is givenName changed to Meier, surname changed to Meeier, but the email doesn't get added to otherMails[].
A related question is, can I change the primary address of the User?
Edit: I get the same behavior, if i also include the current address:
{
"givenName": "Meier",
"surname": "Meeier",
"otherMails": ["user#domain.de", "emaissssl#domain.de"]
}
You need spesific permissions in AAD to update otherMails. From the documentation:
Updating another user's businessPhones, mobilePhone, or otherMails property is only allowed on users who are non-administrators or assigned one of the following roles: Directory Readers, Guest Inviter, Message Center Reader, and Reports Reader. For more details, see Helpdesk (Password) Administrator in Azure AD available roles. This is the case for apps granted either the User.ReadWrite.All or Directory.ReadWrite.All delegated or application permissions.
The wording is a little poor but basically, if the User record you are updating is an Administrator or assigned any of the mentioned roles (Directory Readers, Guest Inviter, Message Center Reader, or Reports Reader), it will ignore the change request.
As for changing the primary email address, that isn't possible. The primary email address is automatically constructed based on the mailNickname and the default domain for the tenant (mailNickname#default.dom).

Resources