AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteResourcePolicy operation. Removes an existing policy from a bot or bot alias. If the resource doesn't have a policy attached, Amazon Lex returns an exception.
Namespace: Amazon.LexModelsV2.Model
Assembly: AWSSDK.LexModelsV2.dll
Version: 3.x.y.z
public class DeleteResourcePolicyRequest : AmazonLexModelsV2Request IAmazonWebServiceRequest
The DeleteResourcePolicyRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DeleteResourcePolicyRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ExpectedRevisionId | System.String |
Gets and sets the property ExpectedRevisionId. The identifier of the revision to edit. If this ID doesn't match the current revision number, Amazon Lex returns an exception If you don't specify a revision ID, Amazon Lex will delete the current policy. |
![]() |
ResourceArn | System.String |
Gets and sets the property ResourceArn. The Amazon Resource Name (ARN) of the bot or bot alias that has the resource policy attached. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5