Skip to content

UpdateMethodResponseRequest

Source code in docs_src/capo_api_gateway/types/update_method_response_request.py
class UpdateMethodResponseRequest(TypedDict, closed=True):
    rest_api_id: "capo_api_gateway.types.string.String"
    """<p>The string identifier of the associated RestApi.</p>"""
    resource_id: "capo_api_gateway.types.string.String"
    """<p>The Resource identifier for the MethodResponse resource.</p>"""
    http_method: "capo_api_gateway.types.string.String"
    """<p>The HTTP verb of the Method resource.</p>"""
    status_code: "capo_api_gateway.types.status_code.StatusCode"
    """<p>The status code for the MethodResponse resource.</p>"""
    patch_operations: NotRequired[
        "capo_api_gateway.types.list_of_patch_operation.ListOfPatchOperation"
    ]
    """<p>For more information about supported patch operations, see <a href="https://docs.aws.amazon.com/apigateway/latest/api/patch-operations.html">Patch Operations</a>.</p>"""

http_method instance-attribute

http_method: String

The HTTP verb of the Method resource.

patch_operations instance-attribute

patch_operations: NotRequired[ListOfPatchOperation]

For more information about supported patch operations, see Patch Operations.

resource_id instance-attribute

resource_id: String

The Resource identifier for the MethodResponse resource.

rest_api_id instance-attribute

rest_api_id: String

The string identifier of the associated RestApi.

status_code instance-attribute

status_code: StatusCode

The status code for the MethodResponse resource.