Questions tagged with AWS Cloud Control API
Content language: English
Sort by most recent
I'm trying start instance remotely in code, because all I need are two apis StartInstances and StopInstances so don't really want to install the sdk.
So I followed the example here:
https://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html#sig-v4-examples-post
replaced with my own credentials and the parameters listed here:
https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StartInstances.html
but i'm still getting this error:
Could not find operation StartInstances for version 2016-11-15
Any idea why it's throwing this error?
Hi,
Wanted to subtitled a video on transcribe batch but
unable to go further when pressed next button after upload file and I have filled all the necessary details on the page.
I can’t go further after pressed next button and stuck. I need help about.
I'm trying to tag an existing autoscaling group, using Python and Boto3.
I can definitely describe the ASGs by name:
```
import boto3
asg_client = boto3.client("autoscaling")
asg_name = "foo-bar20220502044025104700000001"
response = asg_client.describe_auto_scaling_groups(AutoScalingGroupNames=[asg_name])
```
The problem I have with the `create_or_update_tags()` and `delete_tags()` methods is that they don't seem to accept a list of ASG names. E.g. this doesn't work:
```
asg_client.create_or_update_tags(
AutoScalingGroupNames=[asg_name],
Tags=[my_tag]
)
```
To make it clear:
- the ASG already exists, I am not creating it here
- I do not want to make any other changes to the ASG
- all I want is be able to tag an ASG if I know its name
- I need to use boto3 from Python for this
The tag-related methods appear to be different from all the other ASG client methods in that they do not accept an ASG name, or list of names, as a parameter.
Hi, I am exploring Amazon products advertisement API and product search API I am not sure which API I should use to develop a tool similar to Keepa and Helium10.
Can someone guide me in this regard ???
Sometimes I am getting the below error from sts while API call.
I am not able to find the root cause of this error.
```
Unable to execute HTTP request: Connect to sts.us-east-1.amazonaws.com:443 [sts.us-east-1.amazonaws.com/209.54.177.185] failed: Connect timed out
```
Stack Trace JSON
```
{
"message": "Unable to execute HTTP request: Connect to sts.us-east-1.amazonaws.com:443 [sts.us-east-1.amazonaws.com/209.54.177.185] failed: Connect timed out",
"source": "JavaSDK",
"stackTrace": "software.amazon.awssdk.core.exception.SdkClientException$BuilderImpl.build(SdkClientException.java:102)",
"cause": {
"message": "Connect to sts.us-east-1.amazonaws.com:443 [sts.us-east-1.amazonaws.com/209.54.177.185] failed: Connect timed out",
"source": "JavaSDK",
"stackTrace": "org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)",
"cause": {
"message": "Connect timed out",
"source": "JavaSDK",
"stackTrace": "java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:546)\njava.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:597)",
"cause": null,
"applicationFailureInfo": {
"type": "java.net.SocketTimeoutException",
"nonRetryable": false,
"details": null
}
},
"applicationFailureInfo": {
"type": "org.apache.http.conn.ConnectTimeoutException",
"nonRetryable": false,
"details": null
}
},
"applicationFailureInfo": {
"type": "software.amazon.awssdk.core.exception.SdkClientException",
"nonRetryable": false,
"details": null
}
}
```
Hi,
Are the API wrappers for various programming languages still available for Cloud Control? The links on this page all seem to be dead.
https://aws.amazon.com/developer/tools/
Thanks.
Greg
There seems to be a bug when you pass an empty policy to cloudcontrol to update your corenetwork in networkmanager. You can replicate this with the cli.
When you pass in a patch document of "[]" it immediately returns success, then when you query the request, it is stuck in pending. You can replicate this with cli:
`aws cloudcontrol update-resource --type-name AWS::NetworkManager::CoreNetwork --identifier core-network-xxxxx --patch-document "[]"`
```
{
"ProgressEvent": {
"TypeName": "AWS::NetworkManager::CoreNetwork",
"Identifier": "core-network-xxxxx",
"RequestToken": "23xxxxx07",
"Operation": "UPDATE",
"OperationStatus": "SUCCESS",
...
```
`aws cloudcontrol get-resource-request-status --request-token 23xxxxx07`
```
{
"ProgressEvent": {
"TypeName": "AWS::NetworkManager::CoreNetwork",
"RequestToken": "23xxxxx07",
"OperationStatus": "PENDING",
"EventTime": "2022-09-07T16:39:46.821000+00:00"
}
}
```
Its stuck in pending and did not resolve after days. There are no changes/updates reflected in network manager.
EDIT: looks like this issue occurs when "[]" is passed to NetworkManager::VpcAttachment
Hello
I may have expressed my request incorrectly, I apologize. The links you sent me, I have consulted them several times.
Several times but I can't find the URL or API that allows me to collect my ecological and financial footprint data and services associated with the periodic user cost, then display it to me in json or csv format. (My services and cost associated with user aws periodically).
Thanks
What is the relevant API to collect costs associated with AWS services in the context of carbon footprints?
How do I identify the endpoint? For example: I have services running in my sanbox that I would like to know how much they are costing me and which API
and which APIs allow me to retrieve this information?
Is it possible to list the APIs that allow me to collect financial and ecological data from AWS?
For each API is it possible to describe the information collected?
Thanks for your help.
Hello friends,
for my customers I will be deploying (their) new instances - on demand and automatically. I also have one CW Dashboard with the list of all my server-instances, Metrics and Alarms.
Any Idea how to simply react for new generated server instance?
Practicaly, when new instance apears, I would like automaticaly spread my Dashboard.
I am looking for the simplest way, if exists. e.g. some CLI script, which I will run when new instance apears in my EC2.
Erasing of old (and obsoled) instances will be usefull (and nice to have) too :)
thanks
martin
We have developed a software in python and we want to market it with licenses. To do this, and to prevent the code from being hacked (since python is easy to get to the root and avoid the license check), we have thought of offering licenses through a hosted server with an API and working everything online without giving the code. does AWS perform this service? any help is appreciated
Your account must be verified before you can add new CloudFront resources. To verify your account, please contact AWS Support .
If i creat cloudfront i see this massage why