Applications applicationId Unshare - AWS Serverless Application Repository

本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。

Applications applicationId Unshare

URI

/applications/applicationId/unshare

HTTP 方法

POST

操作 ID:UnshareApplication

從 AWS 組織取消共用應用程式。

此操作只能從組織的管理帳戶呼叫。

路徑參數
名稱Type必要描述
applicationId字串True

應用程式的 Amazon Resource Name (ARN)。

回應
狀態碼回應模型描述
204

Success (成功)

400BadRequestException

請求中的其中一個參數無效。

403ForbiddenException

用戶端未驗證。

404NotFoundException

請求中指定的資源 (例如,存取政策陳述式) 不存在。

429TooManyRequestsException

用戶端傳送的請求數目超過每單位時間允許的數目。

500InternalServerErrorException

AWS Serverless Application Repository 服務遇到內部錯誤。

OPTIONS

路徑參數
名稱Type必要描述
applicationId字串True

應用程式的 Amazon Resource Name (ARN)。

回應
狀態碼回應模型描述
200

200 個回應

結構描述

請求內文

{ "organizationId": "string" }

回應內文

{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }
{ "message": "string", "errorCode": "string" }

屬性

BadRequestException

請求中的其中一個參數無效。

屬性Type必要描述
errorCode

string

False

400

message

string

False

請求中的其中一個參數無效。

ForbiddenException

用戶端未驗證。

屬性Type必要描述
errorCode

string

False

403

message

string

False

用戶端未驗證。

InternalServerErrorException

AWS Serverless Application Repository 服務遇到內部錯誤。

屬性Type必要描述
errorCode

string

False

500

message

string

False

AWS Serverless Application Repository 服務遇到內部錯誤。

NotFoundException

請求中指定的資源 (例如,存取政策陳述式) 不存在。

屬性Type必要描述
errorCode

string

False

404

message

string

False

請求中指定的資源 (例如,存取政策陳述式) 不存在。

TooManyRequestsException

用戶端傳送的請求數目超過每單位時間允許的數目。

屬性Type必要描述
errorCode

string

False

429

message

string

False

用戶端傳送的請求數目超過每單位時間允許的數目。

UnshareApplicationInput

取消共用應用程式請求。

屬性Type必要描述
organizationId

string

True

取消共用應用程式的 AWS Organizations ID。

另請參閱

如需在其中一種語言特定 AWS SDKs和參考API中使用此功能的詳細資訊,請參閱以下內容:

UnshareApplication