All Products
Search
Document Center

E-MapReduce:ListApplicationConfigs

Last Updated:Oct 17, 2024

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
ClusterIdstringYes

The cluster ID.

c-e6a9d46e9267****
NextTokenstringNo

The page number of the next page returned.

1
MaxResultsintegerNo

The number of entries per page.

100
ApplicationNamestringNo

The name of the application.

HDFS
NodeGroupIdstringNo

The ID of the node group.

ng-d555335ced5c****
ConfigFileNamestringNo

The name of the configuration file.

hdfs-site.xml
ConfigItemKeystringNo

The name of the configuration item.

dfs.replication
ConfigItemValuestringNo

The value of the configuration item.

2
NodeIdstringNo

The node ID.

i-bp10h9rezawz1i4o****

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

ApplicationConfigsarray<object>

The application configurations.

ApplicationConfigobject
ApplicationNamestring

The name of the application.

HDFS
ConfigFileNamestring

The name of the configuration file.

hdfs-site.xml
ConfigItemKeystring

The key of the configuration item.

dfs.replication
ConfigItemValuestring

The value of the configuration item.

2
CreateTimelong

The creation time.

1628589439114
UpdateTimelong

The update time.

1628589439114
Modifierstring

The person who modified the configurations.

170906468757****
Customboolean

Indicates whether the configurations are custom.

false
InitValuestring

The initial value.

2
Descriptionstring

The description.

dfs.replication description
ConfigEffectStatestring

The status of the configuration value.

EFFECT
NodeIdstring

The node ID.

i-bp18y0ng3qqxog4mw****
NodeGroupIdstring

The node group ID.

ng-d555335ced5****
RequestIdstring

The request ID.

9E3A7161-EB7B-172B-8D18-FFB06BA3****
NextTokenstring

The page number of the next page returned.

1
MaxResultsinteger

The number of entries per page.

100
TotalCountinteger

The total number of pages returned.

100

Examples

Sample success responses

JSONformat

{
  "ApplicationConfigs": [
    {
      "ApplicationName": "HDFS",
      "ConfigFileName": "hdfs-site.xml",
      "ConfigItemKey": "dfs.replication\n",
      "ConfigItemValue": "2",
      "CreateTime": 1628589439114,
      "UpdateTime": 1628589439114,
      "Modifier": "170906468757****",
      "Custom": false,
      "InitValue": "2",
      "Description": "dfs.replication description",
      "ConfigEffectState": "EFFECT",
      "NodeId": "i-bp18y0ng3qqxog4mw****",
      "NodeGroupId": "ng-d555335ced5****"
    }
  ],
  "RequestId": "9E3A7161-EB7B-172B-8D18-FFB06BA3****",
  "NextToken": "1",
  "MaxResults": 100,
  "TotalCount": 100
}

Error codes

HTTP status codeError codeError message
400InvokeEcmErrorAn error occurred while invoking ECM service.
400NotFound.ClusterThe cluster is not found.
400InvalidParameter.ApplicationThe specified application is invalid.
400ConflictParametersParameters that must not be used together. %s
400IncompleteSignatureThe request signature is invalid.
400InvalidActionThe action %s requested is invalid.
400InvalidParameterThe specified parameter %s is not valid.
400InvalidParameterValueThe input parameter %s is invalid or out of range.
400MissingActionThe action %s requested is missing.
400MissingParameterThe input parameter %s that is mandatory for processing this request is not supplied.
400NotAuthorizedYou do not have permission to perform this action. %s
400ThrottlingExceptionThe request was denied due to request throttling. %s
404ResourceNotFoundThe resource not found by %s.
500InternalErrorThe request processing has failed due to some unknown error, exception or failure.
503ServiceFailureThe request has failed due to a temporary failure of %s service.
503ServiceUnavailableThe request has failed due to a temporary failure of the server.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-06-10The Error code has changed. The request parameters of the API has changedView Change Details