Modify DynamoDB Instance properties
Select
SaaS
Customer Managed
This operation will modify the instance properties using Instance ID.
Path Parameters
- Instance_id string required
ID of instance
- application/json
Request Body
instanceProperties object
Responses
- 200
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "",
"instanceId": 0,
"_type_": 0
}
}
]
}
Not Found
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Unknown Instance information. Please provide valid instance id to complete the operation.",
"errorCode": 587206385
}
POST /instance/:instance_id
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance/:Instance_id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 134,
"clientId": 0
},
"cloudAppsInstance": {
"instanceType": "string",
"generalCloudProperties": {
"credentials": {
"credentialId": 0,
"credentialName": "string"
},
"regionEndPoints": "string",
"accessNodes": {
"memberServers": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"isClientGroup": true,
"displayLabel": "string",
"optionId": "string",
"typeLabel": "string",
"selected": true
}
}
]
},
"amazonInstanceInfo": {
"useIamRole": true
}
},
"credentialType": 0
},
"planEntity": {
"planId": 0,
"planName": "string",
"type": "string"
}
}
}'