UpdateIdentityProviderSAML
下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。
参数 | 类型 | 是否必填 | 示例值 | 描述 |
|---|---|---|---|---|
Action | String | 是 | UpdateIdentityProviderSAML | 要执行的操作,取值:UpdateIdentityProviderSAML。 |
Version | String | 是 | 2025-10-30 | API的版本,取值:2025-10-30。 |
UserPoolUid | String | 是 | exampleUserPoolUid | UserPoolUid |
ConnectionUid | String | 是 | exampleConnectionUid | ConnectionUid |
Enabled | Boolean | 否 | true | Enabled |
Name | String | 否 | exampleName | Name |
IdpMetadata | String | 否 | exampleIdpMetadata | IdpMetadata |
EnabledSign | Boolean | 否 | true | EnabledSign |
EnabledEncryption | Boolean | 否 | false | EnabledEncryption |
AttributeMapping | String | 否 | exampleAttributeMapping | AttributeMapping |
IdAttribute | String | 否 | exampleIdAttribute | IdAttribute |
ProviderOptions | Object | 否 | { | ProviderOptions |
下表仅列出本接口特有的返回参数。更多信息请参见返回结构。
参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
Uid | String | exampleUid | Uid |
Enabled | Boolean | true | Enabled |
Name | String | exampleName | Name |
Provider | String | exampleProvider | Provider |
IdpMetadata | String | exampleIdpMetadata | IdpMetadata |
Certificate | String | exampleCeritifcate | Certificate |
EnabledSign | Boolean | true | EnabledSign |
EnabledEncryption | Boolean | false | EnabledEncryption |
AttributeMapping | String | exampleAttributeMapping | AttributeMapping |
IdAttribute | String | exampleIdAttribute | IdAttribute |
ProviderOptions | Object | { | ProviderOptions |
POST /?Action=UpdateIdentityProviderSAML&Version=2025-10-30 HTTP/1.1 Host: cis-control-test.ivolces.com:30190 Content-Type: application/json; charset=UTF-8 X-Date: 20251127T023457Z X-Content-Sha256: 287e874e******d653b44d21e Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251127/cn-beijing/id/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f { "UserPoolUid": "exampleUserPoolUid", "ConnectionUid": "exampleConnectionUid", "Enabled": true, "Name": "exampleName", "IdpMetadata": "exampleIdpMetadata", "EnabledSign": true, "EnabledEncryption": true, "AttributeMapping": "exampleAttributeMapping", "IdAttribute": "exampleIdAttribute", "ProviderOptions": { "AutoLinking": "example", "IsLinkingAllowed": true, "IsCreationAllowed": true, "IsAutoUpdate": true, "IsAutoCreation": true } }
{ "ResponseMetadata": { "RequestId": "202511271035042110912120590CA7E1", "Action": "UpdateIdentityProviderSAML", "Version": "2025-10-30", "Service": "id", "Region": "cn-beijing" }, "Result": { "Uid": "exampleUid", "Enabled": true, "Name": "exampleName", "Provider": "exampleProvider", "IdpMetadata": "exampleIdpMetadata", "Certificate": "exampleCeritifcate", "EnabledSign": true, "EnabledEncryption": true, "AttributeMapping": "exampleAttributeMapping", "IdAttribute": "exampleIdAttribute", "ProviderOptions": { "AutoLinking": "example", "IsLinkingAllowed": true, "IsCreationAllowed": true, "IsAutoCreation": true, "IsAutoUpdate": true } } }
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。
状态码 | 错误码 | 说明 |
|---|---|---|
400 | MissingAction | |
400 | InvalidAction | |
400 | InvalidRequest | |
400 | MissingParameter.{parameter} | |
400 | InvalidParameter.{parameter} | |
401 | SignatureNotMatch | |
403 | AccessDenied | |
403 | InvalidAccessKeyId | |
404 | NotFound | 资源 %s 不存在 |
409 | Duplicated | 资源 %s 已存在 |
429 | QuotaExceeded | 配额 %s 已达上限 |
429 | Throttling | |
500 | InternalError | 内部服务错误: %s |
500 | DownstreamServerError | |
503 | ServiceUnavailable |