public ObjectNode toExpandedNode(ToShapeId service, ToShapeId operation) {
        ObjectNode result = toNode().expectObjectNode();
        result = result.withMember(URI_KEY,
                formatComponent(
                        service,
                        operation,
                        result.expectStringMember(URI_KEY).getValue()));
        if (result.containsMember(CREDENTIALS_KEY)) {
            result = result.withMember(CREDENTIALS_KEY,
                    formatComponent(
                            service,
                            operation,
                            result.expectStringMember(CREDENTIALS_KEY).getValue()));
        }
        return result;
    }
Converts the trait an ObjectNode that finds and replaces the templated
serviceName and operationName labels in the "uri" and "credentials"
key-value pairs.

@param service Service shape ID to use when replacing {@code {serviceName}}.
@param operation Operation shape ID to use when replacing {@code {operationName}}.
@return Returns the expanded Node.
smithy-aws-apigateway-traits/src/main/java/software/amazon/smithy/aws/apigateway/traits/IntegrationTrait.java