UpdateEventSource
Region:
China (Hangzhou)
Request Parameters
Required
EventSourceNameThe name of the eve...
DescriptionThe description of ...
LinkedExternalSourceSpecifies whether t...
Please select a Boolean value
ExternalSourceTypeThe type of the ext...
ExternalSourceConfigThe configurations ...
EventBusNameThe event bus with ...
SourceMNSParametersThe parameters that...
RegionIdThe region where th...
QueueNameThe name of the MNS...
IsBase64DecodeIndicates whether B...
Please select a Boolean value
SourceRocketMQParametersThe parameters that...
RegionIdThe region where th...
InstanceIdThe ID of the Messa...
TopicThe name of the top...
TagThe tag that is use...
OffsetThe offset from whi...
TimestampThe timestamp that ...
GroupIDThe ID of the consu...
InstanceTypeThe type of the Mes...
InstanceNetworkNone
InstanceVpcIdThe ID of the virtu...
InstanceVSwitchIdsThe ID of the vSwit...
InstanceSecurityGroupIdThe ID of the secur...
AuthTypeThe authentication ...
InstanceEndpointThe endpoint that i...
InstanceUsernameThe username that i...
InstancePasswordThe password that i...
SourceRabbitMQParametersThe parameters that...
RegionIdThe ID of the regio...
InstanceIdThe ID of the Messa...
VirtualHostNameThe name of the vho...
QueueNameThe name of the que...
SourceSLSParametersSourceSLSParameters
ProjectThe Log Service pro...
LogStoreThe Log Service Log...
ConsumePositionThe starting consum...
RoleNameThe role name
SourceScheduledEventParametersThe parameters that...
ScheduleThe cron expression
TimeZoneThe time zone in wh...
UserDataThe user data that ...
SourceHttpEventParametersThe parameters that...
TypeThe protocol type t...
MethodThe HTTP request me...
0The HTTP request me...
SecurityConfigThe type of securit...
IpThe CIDR block that...
0The CIDR block that...
RefererThe security domain...
0The security domain...
SourceKafkaParametersThe parameters that...
InstanceIdThe ID of the Messa...
ConsumerGroupThe ID of the consu...
TopicThe name of the top...
OffsetResetThe consumer offset
RegionIdThe ID of the regio...
MaximumTasksThe maximum number ...
NetworkThe network
SecurityGroupIdThe ID of the secur...
VpcIdThe ID of the VPC i...
VSwitchIdsThe ID of the vSwit...
Plugin DownloadLearn more
VS Code Plugin
Before installing the plugin, please install VS CodeBefore installing the plugin, please install VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains Plugin
Before installing the plugin, please install JetBrains IDEBefore installing the plugin, please install JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

Operation Description

You can call this API operation to update an event source.

Request Parameters

Field NameField Details
EventSourceNamestring

The name of the event source.

Example:myrabbitmq.sourceReference Value Source:
    CreateEventSource
    QueryEventTraces
    ListAliyunOfficialEventSources
Descriptionstring

The description of the event source.

LinkedExternalSourceboolean

Specifies whether to connect to an external data source.

ExternalSourceTypestring

The type of the external data source.

Reference Value Source:
    ListUserDefinedEventSources
ExternalSourceConfigobject

The configurations of the external data source.

EventBusNamestring

The event bus with which the event source is associated.

Example:my-event-bus Reference Value Source:
    CreateEventBus
    ListEventBuses
    GetEventStreaming
SourceMNSParametersobject

The parameters that are configured if the event source is Message Service (MNS).

SourceRocketMQParametersobject

The parameters that are configured if the event source is Message Queue for Apache RocketMQ.

SourceRabbitMQParametersobject

The parameters that are configured if the event source is Message Queue for RabbitMQ.

SourceSLSParametersobject

SourceSLSParameters

SourceScheduledEventParametersobject

The parameters that are configured if you specify scheduled events as the event source.

SourceHttpEventParametersobject

The parameters that are configured if the event source is HTTP events.

SourceKafkaParametersobject

The parameters that are configured if the event source is Message Queue for Apache Kafka.

Response Parameters

Field NameField Details
Messagestring

The returned error message.

Example:Remote error. requestId: [xxxx-9D10-65DFDFA3A75D], error code: [EventSourceNotExist], message: [The event source in request is not exist! ]
RequestIdstring

The request ID.

Example:c057d379-ea65-41ec-a8a8-90627a968204
Databoolean

The result of the operation.

Example:true
Codestring

The returned response code. Valid values:View Details...

Example:200
Successboolean

Indicates whether the operation is successful. The value true indicates that the operation is successful.

Example:true
Change History
Change timeChange content summaryoperation
2023-10-19
changeRequest parameter SourceScheduledEventParameters
2023-08-01
changeRequest parameter EventBusName
changeRequest parameter SourceMNSParameters
changeRequest parameter SourceRocketMQParameters
2023-04-21
changeRequest parameter EventSourceName
changeRequest parameter Description
changeRequest parameter EventBusName
addRequest parameter SourceScheduledEventParameters
addRequest parameter SourceKafkaParameters
2023-04-06
changeRequest parameter SourceRocketMQParameters
deleteresponse parameters